Skip to content

Instantly share code, notes, and snippets.

@wyattferguson
Created March 21, 2025 01:45
Show Gist options
  • Save wyattferguson/aabc08aee6f64300b7eed23e2ad32a54 to your computer and use it in GitHub Desktop.
Save wyattferguson/aabc08aee6f64300b7eed23e2ad32a54 to your computer and use it in GitHub Desktop.
# Starship Config: ~/.config/starship.toml
# THEME: https://starship.rs/presets/pastel-powerline
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
# Timeout for commands executed by starship (in milliseconds).
command_timeout = 3600000
format = """
[](#9A348E)\
$directory\
[](bg:#DA627D fg:#9A348E)\
$git_branch\
$git_status\
[](fg:#DA627D bg:#86BBD8)\
$c\
$python\
$golang\
$nodejs\
$rust\
[](fg:#86BBD8 bg:#33658A)\
$cmd_duration\
[ ](fg:#33658A)\
$line_break\
$line_break\
$character\
"""
# Disable the blank line at the start of the prompt
add_newline = true
# 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:#9A348E"
style_root = "bg:#9A348E"
format = '[$user ]($style)'
disabled = false
# An alternative to the username module which displays a symbol that
# represents the current operating system
[os]
style = "bg:#9A348E"
disabled = true # Disabled by default
[directory]
style = "bg:#9A348E"
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 = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[docker_context]
symbol = " "
style = "bg:#06969A"
format = '[ $symbol $context ]($style)'
[elixir]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[elm]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[git_branch]
symbol = ""
style = "white bg:#DA627D"
format = '[ $symbol $branch ]($style)'
[git_status]
style = "white bg:#DA627D"
format = '[$all_status$ahead_behind ]($style)'
[golang]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[nodejs]
symbol = ""
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[python]
format = '[ ($virtualenv) ]($style)'
style = "white bg:#86BBD8"
pyenv_prefix = "venv "
python_binary = ["./venv/bin/python", "python", "python3", "python2"]
detect_extensions = ["py"]
version_format = "v${raw}"
[rust]
symbol = ""
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[time]
disabled = true
time_format = "%R" # Hour:Minute Format
style = "bg:#33658A"
format = '[ ♥ $time ]($style)'
[cmd_duration]
min_time = 4
show_milliseconds = true
format = '[ ($duration) ]($style)'
disabled = false
style = "bg:#33658A"
[fill]
symbol = " "
[character]
success_symbol = '[#](fg:162)'
error_symbol = "[#](fg:162)"

Comments are disabled for this gist.