about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-09-22 16:57:49 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-09-22 16:57:49 +0000
commitbf3726b75768c9d83467259f8c02c775755b1f12 (patch)
treea1fca21a36724a5283b4de3b82943ae43899c4a0
parent708999149bfcff2cef42c17d8d1c1ba0c6e38d32 (diff)
downloadzsh-bf3726b75768c9d83467259f8c02c775755b1f12.tar.gz
zsh-bf3726b75768c9d83467259f8c02c775755b1f12.tar.xz
zsh-bf3726b75768c9d83467259f8c02c775755b1f12.zip
25715: Frank Terbeck: vcs_info now works immediately
-rw-r--r--ChangeLog3
-rw-r--r--Doc/Zsh/contrib.yo2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fd71a22d2..afef5deaf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2008-09-22  Peter Stephenson  <pws@csr.com>
 
+	* 25715: Frank Terbeck: Doc/Zsh/contrib.yo: vcs_info
+	now works straight away.
+
 	* 25710: Functions/VCS_Info/vcs_info,
 	Functions/VCS_Info/vcs_info_lastmsg,
 	Functions/VCS_Info/vcs_info_printsys,
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index cd86b199f..5f4a016d8 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -345,7 +345,7 @@ endsitem()
 
 To load var(vcs_info):
 
-example(autoload -Uz vcs_info && vcs_info)
+example(autoload -Uz vcs_info)
 
 If you plan to use the information from var(vcs_info) in your prompt (which
 is its primary use), you need to enable the tt(PROMPT_SUBST) option.