Skip to content

Instantly share code, notes, and snippets.

@anabastos
Last active June 4, 2026 01:02
Show Gist options
  • Select an option

  • Save anabastos/b18f056f1df9f9100c405b12004234ea to your computer and use it in GitHub Desktop.

Select an option

Save anabastos/b18f056f1df9f9100c405b12004234ea to your computer and use it in GitHub Desktop.
startship.toml
"$schema" = 'https://starship.rs/config-schema.json'
format = """
$os\
[ ★](fg:#cd4b87)\
$time\
[★ ](fg:#cd4b87)\
$username\
$directory\
[⋆✮](fg:#cd4b87)\
$git_branch\
$docker_context\
[✮⋆](fg:#cd4b87)\
$c\
$elixir\
$elm\
$golang\
$gradle\
$haskell\
$java\
$julia\
$maven\
$nodejs\
$bun\
$nim\
$rust\
$scala\
"""
# Disable the blank line at the start of the prompt
# add_newline = false
# You can also replace your username with a neat symbol like  or disable this
# and use the os module below
[username]
show_always = true
style_user = "bg:#39FF14 fg:#000000"
style_root = "bg:#39FF14 fg:#000000"
format = '[ ☣$user ]($style)'
disabled = false
# An alternative to the username module which displays a symbol that
# represents the current operating system
[os]
style = "bg:#39FF14 fg:#000000"
disabled = true # Disabled by default
[directory]
style = "bg:#42485D fg:#000000"
format = "[ $path ]($style)"
truncation_length = 3
truncation_symbol = "…/"
# Here is how you can shorten some long paths by text replacement
# similar to mapped_locations in Oh My Posh:
[directory.substitutions]
"Documents" = "󰈙 "
"Downloads" = ""
"Music" = ""
"Pictures" = ""
# Keep in mind that the order matters. For example:
# "Important Documents" = " 󰈙 "
# will not be replaced, because "Documents" was already substituted before.
# So either put "Important Documents" before "Documents" or use the substituted version:
# "Important 󰈙 " = " 󰈙 "
[c]
symbol = ""
style = "fg:#E0E0E0"
format = '[$symbol $branch]($style)'
[cpp]
symbol = ""
style = "fg:#E0E0E0"
format = '[$symbol $branch]($style)'
[docker_context]
symbol = ""
style = "bg:#06969A"
format = '[ $symbol $context ]($style)'
[elixir]
symbol = ""
style = "fg:#E0E0E0"
format = '[$symbol $branch]($style)'
[elm]
symbol = ""
style = "fg:#E0E0E0"
format = '[$symbol $branch]($style)'
[git_branch]
symbol = ""
style = "bg:#2D2D2D fg:#E0E0E0"
format = '[ $symbol $branch ]($style)'
[golang]
symbol = ""
style = "fg:#E0E0E0"
format = '[$symbol $branch]($style)'
[gradle]
style = "fg:#E0E0E0"
format = '[$symbol $branch]($style)'
[haskell]
symbol = ""
style = "fg:#E0E0E0"
format = '[$symbol $branch]($style)'
[java]
symbol = ""
style = "fg:#E0E0E0"
format = '[$symbol $branch]($style)'
[julia]
symbol = ""
style = "fg:#E0E0E0"
format = '[$symbol $branch]($style)'
[maven]
style = "fg:#E0E0E0"
format = '[$symbol $branch]($style)'
[nodejs]
symbol = ""
style = "fg:#E0E0E0"
format = '[$symbol $branch]($style)'
[bun]
symbol = ""
style = "fg:#E0E0E0"
format = '[$symbol $branch]($style)'
[nim]
symbol = "󰆥 "
style = "fg:#E0E0E0"
format = '[$symbol $branch]($style)'
[rust]
symbol = ""
style = "fg:#E0E0E0"
format = '[$symbol $branch]($style)'
[scala]
symbol = ""
style = "fg:#E0E0E0"
format = '[$symbol $branch]($style)'
[time]
disabled = false
time_format = "%R" # Hour:Minute Format
style = "fg:#39FF14"
format = '[$time]($style)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment