Update starship config
This commit is contained in:
parent
6b5174d7f3
commit
88fe59bd74
@ -6,9 +6,9 @@ format = """\
|
||||
$git_commit\
|
||||
$git_state\
|
||||
$git_status\
|
||||
$time\
|
||||
$cmd_duration\
|
||||
$time \
|
||||
$line_break\
|
||||
$cmd_duration\
|
||||
$character\
|
||||
"""
|
||||
|
||||
@ -17,23 +17,29 @@ disabled = false
|
||||
show_always = true
|
||||
style = "green"
|
||||
style_user = "green"
|
||||
format = "[$user]($style) "
|
||||
|
||||
[hostname]
|
||||
disable = false
|
||||
ssh_only = false
|
||||
style = "purple"
|
||||
# format = "[$hostname]($style)"
|
||||
style = "blue"
|
||||
format = "[$hostname]($style) "
|
||||
|
||||
[git_branch]
|
||||
style = "black bold"
|
||||
symbol = ""
|
||||
# format = "[$symbol$branch]($style)"
|
||||
format = "[$symbol$branch]($style) "
|
||||
|
||||
[git_status]
|
||||
style = "yellow"
|
||||
modified = "±"
|
||||
format = "[$conflicted$deleted$renamed$modified$staged$ahead_behind]($style) "
|
||||
|
||||
[directory]
|
||||
truncation_length = 0
|
||||
use_logical_path = true
|
||||
truncate_to_repo = false
|
||||
style = "blue"
|
||||
truncate_to_repo = true
|
||||
style = "green"
|
||||
|
||||
[time]
|
||||
disabled = false
|
||||
@ -42,10 +48,10 @@ time_format = "%T"
|
||||
format = "[$time]($style)"
|
||||
|
||||
[cmd_duration]
|
||||
# $duration – The command duration (e.g. "15s")
|
||||
# $style – The default style of the module (e.g. "bold yellow")
|
||||
format = "took [$duration]($style) "
|
||||
style = "black bold"
|
||||
format = "[$duration]($style) "
|
||||
|
||||
[character]
|
||||
success_symbol = "λ"
|
||||
style_success = ""
|
||||
error_symbol = "☠"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user