mirror of
https://github.com/reonokiy/dotfiles.git
synced 2025-06-15 06:02:53 +02:00
30 lines
843 B
Cheetah
30 lines
843 B
Cheetah
# 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'
|