From acfeea45e718eeecec36fea55f0ea8037ee6aef5 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 17 May 2010 12:39:02 +0200 Subject: [PATCH] zsh/rc: Minor documentation updates. --- zsh/rc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.44.2