1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 12:09:36 +08:00

crcandy: use 24h format in prompt (#7926)

This commit is contained in:
Crackpot 2019-06-14 20:46:08 +08:00 committed by Marc Cornellà
parent 078f64dcf9
commit 9060c1ddae

View File

@ -1,5 +1,5 @@
PROMPT=$' PROMPT=$'
%{$fg_bold[green]%}%n@%m %{$fg[blue]%}%D{[%I:%M:%S]} %{$reset_color%}%{$fg[white]%}[%~]%{$reset_color%} $(git_prompt_info)\ %{$fg_bold[green]%}%n@%m %{$fg[blue]%}%D{[%H:%M:%S]} %{$reset_color%}%{$fg[white]%}[%~]%{$reset_color%} $(git_prompt_info)\
%{$fg[blue]%}->%{$fg_bold[blue]%} %#%{$reset_color%} ' %{$fg[blue]%}->%{$fg_bold[blue]%} %#%{$reset_color%} '
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}[" ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}["