feat(starship): order for all modules
This commit is contained in:
parent
0395decfd8
commit
aac556d735
1 changed files with 20 additions and 4 deletions
|
@ -3,6 +3,22 @@
|
||||||
# Inserts a blank line between shell prompts
|
# Inserts a blank line between shell prompts
|
||||||
add_newline = true
|
add_newline = true
|
||||||
|
|
||||||
|
format = """
|
||||||
|
$username\
|
||||||
|
$hostname\
|
||||||
|
$kubernetes\
|
||||||
|
$directory\
|
||||||
|
$git_branch\
|
||||||
|
${custom.giturl}\
|
||||||
|
$git_commit\
|
||||||
|
$git_state\
|
||||||
|
$git_metrics\
|
||||||
|
$git_status\
|
||||||
|
$docker_context\
|
||||||
|
${custom.docker}\
|
||||||
|
$all
|
||||||
|
"""
|
||||||
|
|
||||||
# Duration entry
|
# Duration entry
|
||||||
[cmd_duration]
|
[cmd_duration]
|
||||||
min_time = 10000
|
min_time = 10000
|
||||||
|
@ -10,10 +26,9 @@ format = "[ $duration](bold cyan)"
|
||||||
|
|
||||||
# Git entry
|
# Git entry
|
||||||
[git_metrics]
|
[git_metrics]
|
||||||
disabled = false
|
|
||||||
added_style = "green"
|
added_style = "green"
|
||||||
deleted_style = "red"
|
deleted_style = "red"
|
||||||
format = '(\([+$added]($added_style)/[-$deleted]($deleted_style)\)) '
|
format = '(\([+$added]($added_style)/[-$deleted]($deleted_style)\))'
|
||||||
|
|
||||||
[git_status]
|
[git_status]
|
||||||
ahead = '[ $count](bold green) '
|
ahead = '[ $count](bold green) '
|
||||||
|
@ -25,7 +40,7 @@ deleted = '[ $count](bold red) '
|
||||||
modified = '[ $count](bold yellow) '
|
modified = '[ $count](bold yellow) '
|
||||||
behind = '[ $count](bold yellow) '
|
behind = '[ $count](bold yellow) '
|
||||||
renamed = '[ $count](bold blue) '
|
renamed = '[ $count](bold blue) '
|
||||||
up_to_date = '[ ](bold green) '
|
up_to_date = '[](bold green) '
|
||||||
diverged = '[ $ahead_count $behind_count ](bold red) '
|
diverged = '[ $ahead_count $behind_count ](bold red) '
|
||||||
format = '([$all_status$ahead_behind]($style))'
|
format = '([$all_status$ahead_behind]($style))'
|
||||||
|
|
||||||
|
@ -41,7 +56,7 @@ symbol = " "
|
||||||
# Gcloud entry
|
# Gcloud entry
|
||||||
[gcloud]
|
[gcloud]
|
||||||
format = "on [$symbol$domain]($style) "
|
format = "on [$symbol$domain]($style) "
|
||||||
symbol = "☁️ "
|
symbol = " "
|
||||||
style = "bold blue"
|
style = "bold blue"
|
||||||
|
|
||||||
# Directory entry
|
# Directory entry
|
||||||
|
@ -90,6 +105,7 @@ format = "at $output "
|
||||||
# Nerd fonts preset
|
# Nerd fonts preset
|
||||||
[aws]
|
[aws]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
disabled = true
|
||||||
|
|
||||||
[buf]
|
[buf]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
Loading…
Add table
Reference in a new issue