Permalink
Browse files

localization support for clock in candy theme

Now uses 12-hour clock or 24-hour clock depending
on user locale
  • Loading branch information...
1 parent c3b3de5 commit e8a9d0ee1a97033fb4aa371263889b77200b6d62 @TorrentKatten TorrentKatten committed Mar 30, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 themes/candy.zsh-theme
@@ -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%} '
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}["

0 comments on commit e8a9d0e

Please sign in to comment.