From 560385c2e1085172a196f24a225fd8972015cee9 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Tue, 22 Dec 2020 14:18:02 -0800 Subject: [PATCH] Change time format in starship --- starship/.config/starship.toml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/starship/.config/starship.toml b/starship/.config/starship.toml index aef76e7..d3646d2 100644 --- a/starship/.config/starship.toml +++ b/starship/.config/starship.toml @@ -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]