From: Simon Ruderich Date: Mon, 17 May 2010 10:39:02 +0000 (+0200) Subject: zsh/rc: Minor documentation updates. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=acfeea45e718eeecec36fea55f0ea8037ee6aef5;p=config%2Fdotfiles.git zsh/rc: Minor documentation updates. --- diff --git a/zsh/rc b/zsh/rc index 23f9369..80178e0 100644 --- a/zsh/rc +++ b/zsh/rc @@ -238,6 +238,7 @@ if [[ $ZSH_VERSION == (4.3.<9->|4.<4->*|<5->*) || } 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= @@ -258,8 +259,8 @@ prompt_precmd() { 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 for it. + # ${vcs_info_msg_0_} is empty. Provide a workaround for those + # versions, thanks to Frank Terbeck for it. else RPROMPT="${vcs_info_msg_0_:- }" fi