Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: vcs_info first-time failure
- X-seq: zsh-workers 25715
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: vcs_info first-time failure
- Date: Mon, 22 Sep 2008 18:50:43 +0200
- In-reply-to: <20080922162510.GA16877@xxxxxxxx>
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20080922162510.GA16877@xxxxxxxx>
Clint Adams <clint@xxxxxxx>:
> Someone complained that vcs_info didn't work on its first invocation.
Okay, if we do it like this (and I agree it's the more user-friendly
approach), I think the docs should be adjusted like this:
Index: Doc/Zsh/contrib.yo
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Zsh/contrib.yo,v
retrieving revision 1.86
diff -u -r1.86 contrib.yo
--- Doc/Zsh/contrib.yo 19 Sep 2008 15:09:06 -0000 1.86
+++ Doc/Zsh/contrib.yo 22 Sep 2008 16:40:18 -0000
@@ -345,7 +345,7 @@
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author