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