2016-07-18 23:38:17 +00:00
|
|
|
local current_dir='${PWD/#$HOME/~}'
|
|
|
|
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[white]%}on%{$reset_color%} git:%{$fg[cyan]%}"
|
|
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
2016-09-08 21:06:18 +00:00
|
|
|
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}✖︎︎"
|
|
|
|
ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}●"
|
2016-07-18 23:38:17 +00:00
|
|
|
|
|
|
|
local git_info='$(git_prompt_info)'
|
|
|
|
|
|
|
|
# # USER in DIRECTORY on git:BRANCH STATE [TIME]
|
|
|
|
# â
|
|
|
|
PROMPT="
|
|
|
|
%{$terminfo[bold]$fg[blue]%}#%{$reset_color%} \
|
|
|
|
%{$fg[cyan]%}%n \
|
|
|
|
%{$fg[white]%}in \
|
|
|
|
%{$terminfo[bold]$fg[yellow]%}${current_dir}%{$reset_color%}\
|
|
|
|
${git_info} \
|
|
|
|
%{$fg[white]%}[%D{%r}]
|
2016-09-08 21:06:18 +00:00
|
|
|
%{$terminfo[bold]$fg[red]%}→ %{$reset_color%}"
|