mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 07:56:05 +02:00
localization support for clock in candy theme
Now uses 12-hour clock or 24-hour clock depending on user locale
This commit is contained in:
1 parent
c3b3de5f29
commit
e8a9d0ee1a
1 file changed
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
PROMPT=$'%{$fg_bold[green]%}%n@%m %{$fg[blue]%}%D{[%I:%M:%S]} %{$reset_color%}%{$fg[white]%}[%~]%{$reset_color%} $(git_prompt_info)\
|
PROMPT=$'%{$fg_bold[green]%}%n@%m %{$fg[blue]%}%D{[%X]} %{$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]%}["
|
||||||
|
|||||||
Reference in new issue
Block a user