Change time format in starship
This commit is contained in:
parent
88fe59bd74
commit
560385c2e1
@ -6,7 +6,7 @@ format = """\
|
|||||||
$git_commit\
|
$git_commit\
|
||||||
$git_state\
|
$git_state\
|
||||||
$git_status\
|
$git_status\
|
||||||
$time \
|
$time\
|
||||||
$line_break\
|
$line_break\
|
||||||
$cmd_duration\
|
$cmd_duration\
|
||||||
$character\
|
$character\
|
||||||
@ -25,6 +25,12 @@ ssh_only = false
|
|||||||
style = "blue"
|
style = "blue"
|
||||||
format = "[$hostname]($style) "
|
format = "[$hostname]($style) "
|
||||||
|
|
||||||
|
[directory]
|
||||||
|
truncation_length = 0
|
||||||
|
use_logical_path = true
|
||||||
|
truncate_to_repo = true
|
||||||
|
style = "green"
|
||||||
|
|
||||||
[git_branch]
|
[git_branch]
|
||||||
style = "black bold"
|
style = "black bold"
|
||||||
symbol = ""
|
symbol = ""
|
||||||
@ -35,16 +41,11 @@ style = "yellow"
|
|||||||
modified = "±"
|
modified = "±"
|
||||||
format = "[$conflicted$deleted$renamed$modified$staged$ahead_behind]($style) "
|
format = "[$conflicted$deleted$renamed$modified$staged$ahead_behind]($style) "
|
||||||
|
|
||||||
[directory]
|
|
||||||
truncation_length = 0
|
|
||||||
use_logical_path = true
|
|
||||||
truncate_to_repo = true
|
|
||||||
style = "green"
|
|
||||||
|
|
||||||
[time]
|
[time]
|
||||||
disabled = false
|
disabled = false
|
||||||
|
use_12hr = true
|
||||||
style = "purple"
|
style = "purple"
|
||||||
time_format = "%T"
|
time_format = "%F %I:%M%p"
|
||||||
format = "[$time]($style)"
|
format = "[$time]($style)"
|
||||||
|
|
||||||
[cmd_duration]
|
[cmd_duration]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user