Update starship config
This commit is contained in:
parent
80e33da6a0
commit
914006283e
@ -1,3 +1,6 @@
|
|||||||
|
# Get editor completions based on the config schema
|
||||||
|
"$schema" = 'https://starship.rs/config-schema.json'
|
||||||
|
|
||||||
format = """\
|
format = """\
|
||||||
$username\
|
$username\
|
||||||
$hostname\
|
$hostname\
|
||||||
@ -6,6 +9,7 @@ format = """\
|
|||||||
$git_commit\
|
$git_commit\
|
||||||
$git_state\
|
$git_state\
|
||||||
$git_status\
|
$git_status\
|
||||||
|
$git_metrics\
|
||||||
$python \
|
$python \
|
||||||
$time \
|
$time \
|
||||||
$line_break\
|
$line_break\
|
||||||
@ -37,6 +41,9 @@ style = "yellow"
|
|||||||
modified = "±"
|
modified = "±"
|
||||||
format = "[$conflicted$deleted$renamed$modified$staged$ahead_behind]($style) "
|
format = "[$conflicted$deleted$renamed$modified$staged$ahead_behind]($style) "
|
||||||
|
|
||||||
|
[git_metrics]
|
||||||
|
disabled = false
|
||||||
|
|
||||||
[python]
|
[python]
|
||||||
format = '[(\($virtualenv\))]($style)'
|
format = '[(\($virtualenv\))]($style)'
|
||||||
python_binary = ["python3", "python", "python2"]
|
python_binary = ["python3", "python", "python2"]
|
||||||
@ -47,7 +54,6 @@ style = "purple"
|
|||||||
time_format = "%F %I:%M%p"
|
time_format = "%F %I:%M%p"
|
||||||
format = "[$time]($style)"
|
format = "[$time]($style)"
|
||||||
|
|
||||||
|
|
||||||
[cmd_duration]
|
[cmd_duration]
|
||||||
min_time = 0
|
min_time = 0
|
||||||
style = "black bold"
|
style = "black bold"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user