fix missing git username

This commit is contained in:
fumseck 2017-09-30 12:19:22 +02:00
commit b1e766f82a

View file

@ -3,7 +3,7 @@
PROMPT='%{$fg[cyan]%}┌[%{$fg_bold[white]%}%n%{$reset_color%}%{$fg[cyan]%}@%{$fg_bold[white]%}%M%{$reset_color%}%{$fg[cyan]%}]%{$fg[cyan]%}-[%{$fg_bold[white]%}%D%{$reset_color%}%{$fg[cyan]%}:%{$fg_bold[white]%}%T%{$reset_color%}%{$fg[cyan]%}]%{$fg[cyan]%}-%{$fg[cyan]%}(%{$fg_bold[white]%}%~%{$reset_color%}%{$fg[cyan]%})$(git_prompt_info)
└> % %{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="-[%{$reset_color%}%{$fg_bold[white]%}$(git_current_user_name)%{$fg[cyan]%}@%{$fg_bold[white]%}"
ZSH_THEME_GIT_PROMPT_PREFIX="-[%{$reset_color%}%{$fg_bold[white]%}git%{$fg[cyan]%}@%{$fg_bold[white]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}%{$fg[cyan]%}]"
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}✔%{$reset_color%}"