env/files/starship.toml

73 lines
1.7 KiB
TOML

format = """
[](#9A348E)\
$username\
$os\
[](bg:#33658a fg:#9A348E)\
$time\
[](bg:#DA627D fg:#33658a)\
$directory\
[](fg:#DA627D bg:#3208e0)\
$git_branch\
$git_status\
[](fg:#4208e0 bg:#9A348E)\
$python\
[](fg:#9A348E)
>
"""
# Disable the blank line at the start of the prompt
add_newline = true
[python]
style = "bg:#9A348E"
format = '[${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'
# 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:#DA627D"
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 󰈙 " = " 󰈙 "
[git_branch]
symbol = ""
style = "bg:#4208e0"
format = '[ $symbol $branch ]($style)'
[git_status]
style = "bg:#4208e0"
format = '[$all_status$ahead_behind ]($style)'
[time]
time_format = "%T"
style = "bg:#33658A"
format = '[ $time ]($style)'
disabled = false