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
|
||||
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
|
||||
[cmd_duration]
|
||||
min_time = 10000
|
||||
|
@ -10,10 +26,9 @@ format = "[ $duration](bold cyan)"
|
|||
|
||||
# Git entry
|
||||
[git_metrics]
|
||||
disabled = false
|
||||
added_style = "green"
|
||||
deleted_style = "red"
|
||||
format = '(\([+$added]($added_style)/[-$deleted]($deleted_style)\)) '
|
||||
format = '(\([+$added]($added_style)/[-$deleted]($deleted_style)\))'
|
||||
|
||||
[git_status]
|
||||
ahead = '[ $count](bold green) '
|
||||
|
@ -25,7 +40,7 @@ deleted = '[ $count](bold red) '
|
|||
modified = '[ $count](bold yellow) '
|
||||
behind = '[ $count](bold yellow) '
|
||||
renamed = '[ $count](bold blue) '
|
||||
up_to_date = '[ ](bold green) '
|
||||
up_to_date = '[](bold green) '
|
||||
diverged = '[ $ahead_count $behind_count ](bold red) '
|
||||
format = '([$all_status$ahead_behind]($style))'
|
||||
|
||||
|
@ -41,7 +56,7 @@ symbol = " "
|
|||
# Gcloud entry
|
||||
[gcloud]
|
||||
format = "on [$symbol$domain]($style) "
|
||||
symbol = "☁️ "
|
||||
symbol = " "
|
||||
style = "bold blue"
|
||||
|
||||
# Directory entry
|
||||
|
@ -90,6 +105,7 @@ format = "at $output "
|
|||
# Nerd fonts preset
|
||||
[aws]
|
||||
symbol = " "
|
||||
disabled = true
|
||||
|
||||
[buf]
|
||||
symbol = " "
|
||||
|
|
Loading…
Add table
Reference in a new issue