feat(starship): revamp prompt configuration for improved aesthetics and functionality
This commit is contained in:
1 file changed
+153
-73
+153
-73
@@ -1,94 +1,174 @@
|
||||
|
||||
add_newline = false
|
||||
# Pipes ╰─ ╭─
|
||||
# Powerline symbols
|
||||
# Wedges 🭧🭒 🭣🭧🭓
|
||||
# Random noise 🬖🬥🬔🬗
|
||||
# Cool stuff
|
||||
|
||||
format = """
|
||||
$cmd_duration $directory $git_branch
|
||||
$character"""
|
||||
|
||||
[character]
|
||||
success_symbol = "[ ](bold fg:blue)"
|
||||
error_symbol = "[ ](bold fg:red)"
|
||||
error_symbol = "[ ✗](bold red)"
|
||||
success_symbol = "[ λ](bold red)"
|
||||
|
||||
[package]
|
||||
disabled = true
|
||||
disabled = false
|
||||
|
||||
[git_branch]
|
||||
style = "bg: cyan"
|
||||
symbol = ""
|
||||
truncation_length = 12
|
||||
truncation_symbol = ""
|
||||
format = " [](bold fg:cyan)[$symbol $branch(:$remote_branch)](fg:black bg:cyan)[ ](bold fg:cyan)"
|
||||
[cmd_duration]
|
||||
min_time = 5000
|
||||
show_milliseconds = false
|
||||
disabled = false
|
||||
format="[$duration]($style)"
|
||||
style="italic blue"
|
||||
|
||||
[git_commit]
|
||||
commit_hash_length = 4
|
||||
tag_symbol = " "
|
||||
|
||||
[git_state]
|
||||
format = '[\($state( $progress_current of $progress_total)\)]($style) '
|
||||
cherry_pick = "[🍒 PICKING](bold red)"
|
||||
|
||||
[git_status]
|
||||
conflicted = " 🏳 "
|
||||
ahead = " 🏎💨 "
|
||||
behind = " 😰 "
|
||||
diverged = " 😵 "
|
||||
untracked = " 🤷 "
|
||||
stashed = " 📦 "
|
||||
modified = " 📝 "
|
||||
staged = '[++\($count\)](green)'
|
||||
renamed = " ✍️ "
|
||||
deleted = " 🗑 "
|
||||
[directory]
|
||||
truncation_length = 5
|
||||
format = "[$path]($style)[$lock_symbol]($lock_style) "
|
||||
style = "bold yellow"
|
||||
read_only = "🔒"
|
||||
read_only_style= "bold white"
|
||||
|
||||
[hostname]
|
||||
ssh_only = false
|
||||
format = "[•$hostname](bg:cyan bold fg:black)[](bold fg:cyan)"
|
||||
trim_at = ".companyname.com"
|
||||
disabled = false
|
||||
style = "bold italic green"
|
||||
|
||||
[line_break]
|
||||
disabled = false
|
||||
|
||||
|
||||
[git_branch]
|
||||
symbol = ""
|
||||
style = "fg:#a6e3a1 bg:#252a3e"
|
||||
format = '[ $symbol $branch(:$remote_branch) ]($style)'
|
||||
|
||||
|
||||
[git_commit]
|
||||
commit_hash_length = 8
|
||||
style = "bold white"
|
||||
|
||||
[git_status]
|
||||
style = "fg:#a6e3a1 bg:#252a3e"
|
||||
ahead = "⇡${count}"
|
||||
diverged = "⇕⇡${ahead_count}⇣${behind_count}"
|
||||
behind = "⇣${count}"
|
||||
deleted = "x"
|
||||
format = '[$all_status$ahead_behind ]($style)'
|
||||
|
||||
|
||||
[aws]
|
||||
symbol = " "
|
||||
style = "fg:#cba6f7 bg:#2c324a"
|
||||
format = '[ $symbol ($version )]($style)'
|
||||
|
||||
[conda]
|
||||
symbol = ""
|
||||
style = "fg:#cba6f7 bg:#2c324a"
|
||||
format = '[ $symbol ($version )]($style)'
|
||||
|
||||
[dart]
|
||||
symbol = ""
|
||||
style = "fg:#cba6f7 bg:#2c324a"
|
||||
format = '[ $symbol ($version )]($style)'
|
||||
|
||||
[c]
|
||||
symbol = ""
|
||||
style = "fg:#cba6f7 bg:#2c324a"
|
||||
format = '[ $symbol ($version )]($style)'
|
||||
|
||||
[docker_context]
|
||||
symbol = ""
|
||||
style = "fg:#cba6f7 bg:#2c324a"
|
||||
format = '[ $symbol $context]($style) $path '
|
||||
|
||||
[elixir]
|
||||
symbol = ""
|
||||
style = "fg:#cba6f7 bg:#2c324a"
|
||||
format = '[ $symbol ($version )]($style)'
|
||||
|
||||
[elm]
|
||||
symbol = ""
|
||||
style = "fg:#cba6f7 bg:#2c324a"
|
||||
format = '[ $symbol ($version )]($style)'
|
||||
|
||||
[golang]
|
||||
symbol = "ﳑ"
|
||||
style = "fg:#cba6f7 bg:#2c324a"
|
||||
format = '[ $symbol ($version )]($style)'
|
||||
|
||||
[haskell]
|
||||
symbol = "λ"
|
||||
style = "fg:#cba6f7 bg:#2c324a"
|
||||
format = '[ $symbol ($version )]($style)'
|
||||
|
||||
[java]
|
||||
symbol = ""
|
||||
style = "fg:#cba6f7 bg:#2c324a"
|
||||
format = '[ $symbol ($version )]($style)'
|
||||
|
||||
[julia]
|
||||
symbol = ""
|
||||
style = "fg:#cba6f7 bg:#2c324a"
|
||||
format = '[ $symbol ($version )]($style)'
|
||||
|
||||
[lua]
|
||||
symbol = ""
|
||||
style = "fg:#cba6f7 bg:#2c324a"
|
||||
format = '[ $symbol ($version )]($style)'
|
||||
|
||||
[nim]
|
||||
symbol = ""
|
||||
style = "fg:#cba6f7 bg:#2c324a"
|
||||
format = '[ $symbol ($version )]($style)'
|
||||
|
||||
[nix_shell]
|
||||
symbol = ""
|
||||
style = "fg:#cba6f7 bg:#2c324a"
|
||||
format = '[ $symbol ($version )]($style)'
|
||||
|
||||
[nodejs]
|
||||
symbol = ""
|
||||
style = "fg:#cba6f7 bg:#f00"
|
||||
format = '[ $symbol ($version )]($style)'
|
||||
|
||||
[perl]
|
||||
symbol = ""
|
||||
style = "fg:#cba6f7 bg:#2c324a"
|
||||
format = '[ $symbol ($version )]($style)'
|
||||
|
||||
[php]
|
||||
symbol = ""
|
||||
style = "fg:#cba6f7 bg:#2c324a"
|
||||
format = '[ $symbol ($version )]($style)'
|
||||
|
||||
[python]
|
||||
symbol = ""
|
||||
style = "fg:#cba6f7 bg:#2c324a"
|
||||
format = '[ $symbol ($version )]($style)'
|
||||
|
||||
[ruby]
|
||||
symbol = ""
|
||||
style = "fg:#cba6f7 bg:#2c324a"
|
||||
format = '[ $symbol ($version )]($style)'
|
||||
|
||||
[rust]
|
||||
symbol = "🦀"
|
||||
style = "fg:#cba6f7 bg:#2c324a"
|
||||
format = '[ $symbol ($version )]($style)'
|
||||
|
||||
[swift]
|
||||
symbol = "ﯣ"
|
||||
style = "fg:#cba6f7 bg:#2c324a"
|
||||
format = '[ $symbol ($version )]($style)'
|
||||
|
||||
[memory_usage]
|
||||
format = "[${ram}( | ${swap})]($style) "
|
||||
threshold = 50
|
||||
style = "bold dimmed white"
|
||||
disabled = true
|
||||
threshold = -1
|
||||
symbol = " "
|
||||
style = "bold dimmed green"
|
||||
|
||||
[time]
|
||||
disabled = true
|
||||
format = '🕙[\[ $time \]]($style) '
|
||||
time_format = "%T"
|
||||
|
||||
[username]
|
||||
style_user = "bold bg:cyan fg:black"
|
||||
style_root = "red bold"
|
||||
format = "[](bold fg:cyan)[$user]($style)"
|
||||
[status]
|
||||
style = "bg:transparent"
|
||||
symbol = "💥 "
|
||||
# format = '[\[$symbol$status\]]($style) '
|
||||
format = '($style)'
|
||||
disabled = false
|
||||
show_always = true
|
||||
|
||||
[directory]
|
||||
home_symbol = " "
|
||||
read_only = " "
|
||||
style = "bg:green fg:black"
|
||||
truncation_length = 6
|
||||
truncation_symbol = " ••/"
|
||||
format = '[](bold fg:green)[ $path]($style)[](bold fg:green)'
|
||||
|
||||
|
||||
[directory.substitutions]
|
||||
"Desktop" = " "
|
||||
"Documents" = " "
|
||||
"Downloads" = " "
|
||||
"Music" = " "
|
||||
"Pictures" = " "
|
||||
"Videos" = " "
|
||||
"GitHub" = " "
|
||||
[dotnet]
|
||||
symbol = "🥅 "
|
||||
style = "green"
|
||||
heuristic = false
|
||||
|
||||
[cmd_duration]
|
||||
min_time = 0
|
||||
format = '[](bold fg:yellow)[ $duration](bold bg:yellow fg:black)[](bold fg:yellow)'
|
||||
Reference in new issue
Block a user