diff options
-rw-r--r-- | .zsh_functions | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/.zsh_functions b/.zsh_functions index 1d7cc9a..453f122 100644 --- a/.zsh_functions +++ b/.zsh_functions @@ -39,13 +39,8 @@ precmd () { esac vcs_info - if [[ -n ${vcs_info_msg_0_} ]]; then - local HENKSPROMPT="%(0?..%F{red}E%?%f )%(1j.%F{yellow}J%j%f .)%(3L.%F{yellow}L%L%f .)%3~ %F{green}$VCSH_REPO_NAME%f%F{yellow}${vcs_info_msg_0_}%f%# " - PS1="$HENKSPROMPTHEADER$HENKSPROMPT" - else - local HENKSPROMPT="%(0?..%F{red}E%?%f )%(1j.%F{yellow}J%j%f .)%(3L.%F{yellow}L%L%f .)%3~ %F{green}$VCSH_REPO_NAME%f%# " - PS1="$HENKSPROMPTHEADER$HENKSPROMPT" - fi + + PS1="${HENKSPROMPTHEADER}%(0?..%F{red}E%?%f )%(1j.%F{yellow}J%j%f .)%(3L.%F{yellow}L%L%f .)%3~ %F{green}$VCSH_REPO_NAME%f%F{yellow}${vcs_info_msg_0_}%f%# " } function vifind () { |