dotfiles/dot_config/starship.toml.tmpl
2025-03-20 17:38:10 +08:00

30 lines
843 B
Cheetah
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
# Inserts a blank line between shell prompts
add_newline = true
# Replace the '' symbol in the prompt with '➜'
[character] # The name of the module we are configuring is 'character'
success_symbol = '[\$](bold green)'
error_symbol = '[\$](bold red)'
# Disable the package module, hiding it from the prompt completely
[package]
disabled = false
{{ if and (eq .chezmoi.os "linux") (.chezmoi.kernel.osrelease | lower | contains "microsoft") }}
# In WSL, disable container option to avoid `[Docker]` prompt.
[container]
disabled = true
{{ end }}
[aws]
format = 'on [$symbol($profile )(\($region\) )]($style)'
style = 'bold blue'
symbol = '🅰 '
[aws.region_aliases]
ap-east-1 = 'hk'
ap-southeast-1 = 'sg'
ap-northeast-1 = 'tokyo'