mirror of
https://github.com/starship/starship.git
synced 2025-02-13 08:49:26 +01:00
Update gruvbox-rainbow.toml
This commit is contained in:
parent
5b92e7bd26
commit
22f302e79f
@ -3,12 +3,16 @@
|
|||||||
format = """
|
format = """
|
||||||
[](color_orange)\
|
[](color_orange)\
|
||||||
$os\
|
$os\
|
||||||
|
$hostname\
|
||||||
$username\
|
$username\
|
||||||
[](bg:color_yellow fg:color_orange)\
|
[](bg:color_yellow fg:color_orange)\
|
||||||
$directory\
|
$directory\
|
||||||
[](fg:color_yellow bg:color_aqua)\
|
[](fg:color_yellow bg:color_aqua)\
|
||||||
$git_branch\
|
$git_branch\
|
||||||
|
$git_commit\
|
||||||
|
$git_state\
|
||||||
$git_status\
|
$git_status\
|
||||||
|
$git_metrics\
|
||||||
[](fg:color_aqua bg:color_blue)\
|
[](fg:color_aqua bg:color_blue)\
|
||||||
$c\
|
$c\
|
||||||
$rust\
|
$rust\
|
||||||
@ -23,7 +27,7 @@ $python\
|
|||||||
$docker_context\
|
$docker_context\
|
||||||
$conda\
|
$conda\
|
||||||
[](fg:color_bg3 bg:color_bg1)\
|
[](fg:color_bg3 bg:color_bg1)\
|
||||||
$time\
|
$cmd_duration\
|
||||||
[ ](fg:color_bg1)\
|
[ ](fg:color_bg1)\
|
||||||
$line_break$character"""
|
$line_break$character"""
|
||||||
|
|
||||||
@ -73,6 +77,11 @@ style_user = "bg:color_orange fg:color_fg0"
|
|||||||
style_root = "bg:color_orange fg:color_fg0"
|
style_root = "bg:color_orange fg:color_fg0"
|
||||||
format = '[ $user ]($style)'
|
format = '[ $user ]($style)'
|
||||||
|
|
||||||
|
[hostname]
|
||||||
|
ssh_only = true
|
||||||
|
ssh_symbol = ' '
|
||||||
|
format = '[ \[${ssh_symbol}${hostname}\] as](bg:color_orange fg:color_fg0)'
|
||||||
|
|
||||||
[directory]
|
[directory]
|
||||||
style = "fg:color_fg0 bg:color_yellow"
|
style = "fg:color_fg0 bg:color_yellow"
|
||||||
format = "[ $path ]($style)"
|
format = "[ $path ]($style)"
|
||||||
@ -93,8 +102,29 @@ format = '[[ $symbol $branch ](fg:color_fg0 bg:color_aqua)]($style)'
|
|||||||
|
|
||||||
[git_status]
|
[git_status]
|
||||||
style = "bg:color_aqua"
|
style = "bg:color_aqua"
|
||||||
|
ahead = '⇡${count}'
|
||||||
|
diverged = '⇕⇡${ahead_count}⇣${behind_count}'
|
||||||
|
behind = '⇣${count}'
|
||||||
|
untracked = '?${count}'
|
||||||
|
staged = '+${count}'
|
||||||
|
renamed = '»${count}'
|
||||||
|
deleted = '✘${count}'
|
||||||
|
modified = '!${count}'
|
||||||
format = '[[($all_status$ahead_behind )](fg:color_fg0 bg:color_aqua)]($style)'
|
format = '[[($all_status$ahead_behind )](fg:color_fg0 bg:color_aqua)]($style)'
|
||||||
|
|
||||||
|
[git_commit]
|
||||||
|
format = '[[\($hash$tag\)](fg:color_fg0 bg:color_aqua)]($style)'
|
||||||
|
tag_symbol = '🔖 '
|
||||||
|
|
||||||
|
[git_state]
|
||||||
|
format = '[[\($state( $progress_current/$progress_total)\)](fg:color_fg0 bg:color_aqua)]($style)'
|
||||||
|
|
||||||
|
[git_metrics]
|
||||||
|
disabled = false
|
||||||
|
added_style = 'fg:bold blue bg:color_aqua'
|
||||||
|
deleted_style = 'fg:bold red bg:color_aqua'
|
||||||
|
format = '([ ([+$added]($added_style))/([-$deleted]($deleted_style))](fg:color_fg0 bg:color_aqua))'
|
||||||
|
|
||||||
[nodejs]
|
[nodejs]
|
||||||
symbol = ""
|
symbol = ""
|
||||||
style = "bg:color_blue"
|
style = "bg:color_blue"
|
||||||
@ -155,6 +185,11 @@ time_format = "%R"
|
|||||||
style = "bg:color_bg1"
|
style = "bg:color_bg1"
|
||||||
format = '[[ $time ](fg:color_fg0 bg:color_bg1)]($style)'
|
format = '[[ $time ](fg:color_fg0 bg:color_bg1)]($style)'
|
||||||
|
|
||||||
|
[cmd_duration]
|
||||||
|
disabled = false
|
||||||
|
min_time = 2_000
|
||||||
|
format = '[[ $duration ](fg:color_fg0 bg:color_bg1)]($style)'
|
||||||
|
|
||||||
[line_break]
|
[line_break]
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user