Update starship config a bit more
This commit is contained in:
parent
7d9e6dcb44
commit
b4a65767fa
@ -6,63 +6,98 @@
|
|||||||
|
|
||||||
palette = "catppuccin_mocha"
|
palette = "catppuccin_mocha"
|
||||||
format = """
|
format = """
|
||||||
$username$hostname$kubernetes$nodejs$ruby$rust
|
$username$hostname$kubernetes\
|
||||||
|
$terraform$nodejs$ruby$rust$python[\uE0B0](base bg:mantle)\
|
||||||
|
$git_branch$git_state$git_status[\uE0B4](mantle)
|
||||||
$directory$character
|
$directory$character
|
||||||
"""
|
"""
|
||||||
right_format = """$git_state$git_status$git_branch$time"""
|
right_format = """$time"""
|
||||||
|
|
||||||
[character]
|
[character]
|
||||||
format = "$symbol"
|
format = "$symbol"
|
||||||
success_symbol = '[\$](bold green)'
|
success_symbol = '[\$](bold white)'
|
||||||
error_symbol = "[✗](bold red)"
|
error_symbol = "[✗](bold red)"
|
||||||
|
|
||||||
[directory]
|
[directory]
|
||||||
style = "sky"
|
style = "blue"
|
||||||
|
truncate_to_repo = false
|
||||||
|
truncation_length = 6
|
||||||
|
truncation_symbol = "…/"
|
||||||
|
|
||||||
[git_branch]
|
[git_branch]
|
||||||
format = "[$symbol$branch(:$remote_branch)]($style)"
|
symbol = ""
|
||||||
|
style = "lavender bg:mantle"
|
||||||
|
format = "[ $symbol $branch(:$remote_branch) ]($style)"
|
||||||
|
|
||||||
|
[git_state]
|
||||||
|
style = "pink bg:mantle"
|
||||||
|
format = '[\([$state( $progress_current/$progress_total)]($style)\) ](bg:mantle)'
|
||||||
|
|
||||||
|
[git_status]
|
||||||
|
style = "flamingo bg:mantle"
|
||||||
|
modified = ""
|
||||||
|
staged = ""
|
||||||
|
ahead = ""
|
||||||
|
behind = ""
|
||||||
|
diverged = ""
|
||||||
|
format = '[([$all_status$ahead_behind]($style) )](bg:mantle)'
|
||||||
|
|
||||||
[hostname]
|
[hostname]
|
||||||
ssh_only = false
|
ssh_only = false
|
||||||
style = "dimmed green"
|
style = "base bg:yellow"
|
||||||
format = "[ $hostname]($style) "
|
format = """
|
||||||
|
[ $hostname]($style)\
|
||||||
|
[\uE0B4](yellow bg:surface0)\
|
||||||
|
"""
|
||||||
|
|
||||||
[kubernetes]
|
[kubernetes]
|
||||||
disabled = false
|
disabled = false
|
||||||
symbol = " "
|
symbol = " "
|
||||||
style = "cyan"
|
style = "sky bg:surface0"
|
||||||
format = '[$symbol$context(\($namespace\))]($style)'
|
format = """
|
||||||
|
[ $symbol$context(\\($namespace\\)) ]($style)\
|
||||||
|
[\uE0B0](surface0 bg:base)"""
|
||||||
|
|
||||||
[nodejs]
|
[nodejs]
|
||||||
symbol = " "
|
symbol = ""
|
||||||
style = "green"
|
style = "teal bg:base"
|
||||||
format = "[$symbol($version )]($style)"
|
format = "[ $symbol ($version) ]($style)"
|
||||||
|
|
||||||
[python]
|
[python]
|
||||||
symbol = " "
|
symbol = ""
|
||||||
style = "yellow"
|
style = "yellow bg:base"
|
||||||
format = '[${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'
|
format = '[ ${symbol} ${pyenv_prefix}(${version})(\($virtualenv\)) ]($style)'
|
||||||
|
|
||||||
[ruby]
|
[ruby]
|
||||||
symbol = " "
|
symbol = ""
|
||||||
style = "red"
|
style = "maroon bg:base"
|
||||||
format = '[$symbol($version )]($style)'
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
[rust]
|
[rust]
|
||||||
symbol = " "
|
symbol = ""
|
||||||
style = "orange"
|
style = "peach bg:base"
|
||||||
format = '[$symbol($version )]($style)'
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
|
[terraform]
|
||||||
|
symbol = ""
|
||||||
|
style = "mauve bg:base"
|
||||||
|
format = '[ $symbol $workspace ]($style)'
|
||||||
|
detect_extensions = ["hcl", "tf", "tfplan", "tfstate"]
|
||||||
|
|
||||||
[time]
|
[time]
|
||||||
disabled = false
|
disabled = false
|
||||||
use_12hr = true
|
use_12hr = true
|
||||||
format = ' [$time]($style)'
|
format = "[\uE0B6](base)[$time ]($style)[\uE0B4](base)"
|
||||||
style = "gray dimmed"
|
style = "subtext0 bg:base"
|
||||||
|
|
||||||
[username]
|
[username]
|
||||||
show_always = true
|
show_always = true
|
||||||
style_user = "green"
|
style_user = "base bg:green"
|
||||||
format = "[ $user]($style) "
|
format = """
|
||||||
|
[\uE0B6](green)\
|
||||||
|
[ $user ]($style)\
|
||||||
|
[\uE0B0](green bg:yellow)\
|
||||||
|
"""
|
||||||
|
|
||||||
#
|
#
|
||||||
# Palettes
|
# Palettes
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user