]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
zsh/rc: Minor documentation updates.
authorSimon Ruderich <simon@ruderich.org>
Mon, 17 May 2010 10:39:02 +0000 (12:39 +0200)
committerSimon Ruderich <simon@ruderich.org>
Mon, 17 May 2010 10:39:02 +0000 (12:39 +0200)
zsh/rc

diff --git a/zsh/rc b/zsh/rc
index 23f936935f5a8acbb78450c3468237d6824aaa77..80178e0cdc57194f6c66d6db910b97055ec68e04 100644 (file)
--- 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 <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