浏览代码

localization support for clock in candy theme

Now uses 12-hour clock or 24-hour clock depending
on user locale
Jon-Erik Johnzon (TorrentKatten) 8 年之前
父节点
当前提交
e8a9d0ee1a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      themes/candy.zsh-theme

+ 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]%}["