Files
dotfiles/misc_config/starship.toml
T
2024-04-11 09:41:19 -04:00

57 lines
986 B
TOML

format = """\
$username\
$directory\
$git_branch\
$git_status
$sudo\
$character"""
right_format = '$nodejs$bun$golang'
[aws]
disabled = true
[directory]
format = '[ ](yellow)[$path](underline yellow) '
read_only = ''
truncation_length = 10
home_symbol = '~'
truncate_to_repo = false
truncation_symbol = '…/'
[username]
format = '[ $user ](blue)'
show_always = true
[character]
success_symbol = '[](bold green)'
error_symbol = '[✘](bold red)'
[git_branch]
symbol = ' '
format = '[$symbol$branch(:$remote_branch) ](purple)'
[git_status]
format = '[$all_status$ahead_behind](green)'
modified = '!$count'
untracked = '?$count'
deleted = '-$count'
stashed = '󰆦 !'
ahead = '↑$count'
behind = '↓$count'
staged = '+$count'
[nodejs]
detect_files = ['package.json', '.node-version', '!bun.lockb']
format = '[node $version]($style)'
[bun]
format = '[bun $version]($style)'
[golang]
format = '[go $version]($style)'
[swift]
format = '[swift $version]($style)'