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,7 +26,6 @@ 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)\))'
|
||||||
|
@ -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