}
add-zsh-hook chpwd prompt_chpwd
+ # Used by prompt code below to determine if vcs_info should be run.
RUN_VCS_INFO=1
else
RUN_VCS_INFO=
if [[ $ZSH_VERSION == (4.3.<9->|4.<4->*|<5->*) ]]; then
RPROMPT="${vcs_info_msg_0_}"
# There is a bug in Zsh below 4.3.9 which displays a wrong symbol when
- # ${vcs_info_msg_0_} is empty. Provide a workaround for those versions,
- # thanks to Frank Terbeck <ft@bewatermyfriend.org> for it.
+ # ${vcs_info_msg_0_} is empty. Provide a workaround for those
+ # versions, thanks to Frank Terbeck <ft@bewatermyfriend.org> for it.
else
RPROMPT="${vcs_info_msg_0_:- }"
fi