update starship config

This commit is contained in:
2024-04-11 09:41:19 -04:00
parent bd418d4ee8
commit 3ad2424b14
+45 -39
View File
@@ -1,50 +1,56 @@
format = """ format = """\
$hostname\ $username\
[](fg:blue bg:yellow)\
$directory\ $directory\
[](fg:yellow bg:purple)\
$git_branch\ $git_branch\
$git_status\ $git_status
[](purple) $sudo\
$character""" $character"""
[hostname] right_format = '$nodejs$bun$golang'
ssh_only = false
format = '[ 󰀶 $user@$ssh_symbol$hostname ](bg:blue)'
[directory]
format = "[ $path ](bg:yellow)"
truncation_length = 10
home_symbol = "~"
truncation_symbol = "…/"
[character]
success_symbol = "[󰘍 ](bold green)"
error_symbol = "[x](bold red)"
[username]
format = "[$user](bold blue)[ - ](red)"
disabled = false
show_always = true
[git_branch]
symbol = " "
format = '[ $symbol$branch(:$remote_branch) ](bg:purple)'
[git_status]
format = '[$all_status$ahead_behind ](bg:purple)'
modified = "!$count"
untracked = "?$count"
stashed = "󰆦 !"
ahead = "↑$count"
behind = "↓$count"
[cmd_duration]
disabled = true
[aws] [aws]
disabled = true 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] [nodejs]
detect_files = ['package.json', '.node-version', '!bun.lockb'] 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)'