2017-06-06 17:54:13 +00:00
|
|
|
# vim:filetype=zsh
|
2015-08-19 00:14:39 +00:00
|
|
|
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)"
|
2017-07-09 01:06:59 +00:00
|
|
|
PROMPT='$(date -u +%Y-%m-%dT%H:%M:%S) ${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)$(hg_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
|
2015-08-19 00:14:39 +00:00
|
|
|
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
|
|
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
2017-06-06 17:54:13 +00:00
|
|
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}!%{$reset_color%}"
|
2015-08-19 00:14:39 +00:00
|
|
|
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
|