1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 22:06:09 +08:00
ohmyzsh/themes/candy.zsh-theme
Jon-Erik Johnzon (TorrentKatten) e8a9d0ee1a localization support for clock in candy theme
Now uses 12-hour clock or 24-hour clock depending
on user locale
2016-03-30 21:46:39 +02:00

8 lines
365 B
Bash

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]%}["
ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}*%{$fg[green]%}"
ZSH_THEME_GIT_PROMPT_CLEAN=""