Skip to content

Instantly share code, notes, and snippets.

@maacpiash
Created March 30, 2025 12:24
Show Gist options
  • Save maacpiash/612570b40e6abe526fc847f1b002bb80 to your computer and use it in GitHub Desktop.
Save maacpiash/612570b40e6abe526fc847f1b002bb80 to your computer and use it in GitHub Desktop.
StarShip alt config
"$schema" = 'https://starship.rs/config-schema.json'
format = """
[](#9A348E)\
$os\
$username\
[](bg:#DA627D fg:#9A348E)\
$directory\
[](fg:#DA627D bg:#FCA17D)\
$git_branch\
$git_status\
$git_state\
[](fg:#FCA17D bg:#86BBD8)\
$c\
$dotnet\
$golang\
$nodejs\
[](fg:#86BBD8 bg:#06969A)\
$aws\
[](fg:#06969A bg:#33658A)\
$cmd_duration\
[ ](fg:#33658A)\
\n$character
"""
[character]
success_symbol = '[](bold green) '
error_symbol = '[](bold red) '
[username]
show_always = true
style_user = "bg:#9A348E"
style_root = "bg:#9A348E"
format = '[$user ]($style)'
disabled = false
[os]
style = "bg:#9A348E"
disabled = false
[os.symbols]
"Macos" = ""
"Windows" = "󰨡 "
"Ubuntu" = ""
"Debian" = ""
"Fedora" = ""
[aws]
symbol = "󰸏 "
format = '[ $symbol($profile )($region )]($style)'
style = "bg:#06969A fg:#bcbfb5"
[aws.region_aliases]
ap-southeast-2 = 'syd'
[bun]
symbol = ""
format = 'via [$symbol $version](bold green) '
detect_files = ["bun.lock", "bun.lockb", "bunfig.toml"]
[directory]
style = "bg:#DA627D"
format = "[ $path ]($style)"
truncation_length = 3
truncation_symbol = "…/"
# substitutions = { "home" = "󰉨 " }
[directory.substitutions]
"Development" = ""
"Documents" = "󰈙 "
"Downloads" = ""
"Music" = ""
"Pictures" = ""
[c]
symbol = ""
style = "bg:#86BBD8 fg:#2f5b73"
format = '[ $symbol ($version) ]($style)'
[conda]
symbol = ''
[dotnet]
symbol = '󰪮 '
style = "bg:#86BBD8 fg:#2f5b73"
format = '[ $symbol($tfm) ]($style)'
[git_branch]
symbol = ""
style = "bg:#FCA17D fg:#924355"
format = '[ $symbol $branch ]($style)'
[git_state]
format = '[\($state( $progress_current of $progress_total)\)]($style) '
cherry_pick = '[ PICKING](bold red)'
[git_status]
style = "bg:#FCA17D fg:#924355"
format = '[( $modified)( $staged)( $ahead_behind) ]($style)'
[golang]
symbol = ""
style = "bg:#86BBD8 fg:#2f5b73"
format = '[ $symbol ($version) ]($style)'
[nodejs]
symbol = ""
style = "bg:#86BBD8 fg:#2f5b73"
format = '[ $symbol ($version) ]($style)'
detect_files = [
'package.json',
'.node-version',
'!bunfig.toml',
'!bun.lock',
'!bun.lockb',
]
[cmd_duration]
disabled = false
min_time = 10
style = "bg:#33658A"
format = '[  $duration]($style)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment