103 lines
2.3 KiB
TOML
103 lines
2.3 KiB
TOML
# starship.toml - Fully riced modern prompt config aligned with Carbonfox theme
|
||
|
||
format = """
|
||
$os$username$hostname$directory$git_branch$git_state$git_status$python$nodejs$rust$golang$cmd_duration$line_break\
|
||
$character"""
|
||
|
||
# Wait 10 milliseconds for starship to check files under the current directory.
|
||
scan_timeout = 10
|
||
|
||
# Disable the blank line at the start of the prompt
|
||
add_newline = true
|
||
|
||
[os]
|
||
disabled = false
|
||
style = "bold white"
|
||
|
||
[username]
|
||
style_user = "bold purple" # Use terminal purple
|
||
style_root = "bold red"
|
||
format = "[$user]($style)"
|
||
disabled = false
|
||
show_always = true
|
||
|
||
[hostname]
|
||
ssh_only = false
|
||
style = "bold cyan" # Use terminal cyan
|
||
format = "@[$hostname]($style) "
|
||
disabled = false
|
||
|
||
[directory]
|
||
style = "bold blue" # Use terminal blue
|
||
format = "in [ $path]($style)[$read_only]($read_only_style) "
|
||
truncation_length = 3
|
||
truncation_symbol = "…/"
|
||
truncate_to_repo = true
|
||
read_only = " "
|
||
read_only_style = "bold red"
|
||
|
||
[character]
|
||
success_symbol = "[❯](bold green)" # Use terminal green
|
||
error_symbol = "[❯](bold red)" # Use terminal red
|
||
vimcmd_symbol = "[❮](bold cyan)" # Use terminal cyan
|
||
|
||
[git_branch]
|
||
symbol = "🌱 "
|
||
style = "bold red" # Use terminal red
|
||
format = "on [$symbol$branch]($style) "
|
||
truncation_symbol = ""
|
||
|
||
[git_status]
|
||
style = "bold red"
|
||
format = "([$all_status$ahead_behind]($style) )"
|
||
conflicted = "🏳"
|
||
ahead = "🏎💨"
|
||
behind = "😰"
|
||
diverged = "😵"
|
||
untracked = "🤷"
|
||
stashed = "📦"
|
||
modified = "📝"
|
||
staged = '[++\($count\)](green)'
|
||
renamed = "👅"
|
||
deleted = "🗑"
|
||
|
||
[git_state]
|
||
format = "([$state( $progress_current of $progress_total)]($style) )"
|
||
cherry_pick = "[🍒 PICKING](bold red)"
|
||
|
||
[python]
|
||
symbol = "🐍 "
|
||
style = "bold green"
|
||
format = "via [$symbol$version]($style) "
|
||
|
||
[nodejs]
|
||
symbol = " "
|
||
style = "bold green"
|
||
format = "via [$symbol$version]($style) "
|
||
|
||
[rust]
|
||
symbol = "🦀 "
|
||
style = "bold yellow"
|
||
format = "via [$symbol$version]($style) "
|
||
|
||
[golang]
|
||
symbol = " "
|
||
style = "bold blue"
|
||
format = "via [$symbol$version]($style) "
|
||
|
||
[cmd_duration]
|
||
min_time = 100
|
||
style = "bold yellow"
|
||
format = "underwent [$duration]($style) "
|
||
|
||
[status]
|
||
style = "bg:blue"
|
||
symbol = "🔴 "
|
||
success_symbol = "🟢 SUCCESS"
|
||
format = '[[\[$symbol$common_meaning$signal_name$maybe_int\]]($style) ]'
|
||
map_symbol = true
|
||
disabled = true
|
||
|
||
[conda]
|
||
format = "[$symbol$environment]($style) "
|