zsh-workers
 help / color / mirror / code / Atom feed
From: Frank Terbeck <ft@bewatermyfriend.org>
To: zsh-workers@sunsite.dk
Subject: Re: PATCH: vcs_info first-time failure
Date: Mon, 22 Sep 2008 18:50:43 +0200	[thread overview]
Message-ID: <20080922165043.GF11090@fsst.voodoo.lan> (raw)
In-Reply-To: <20080922162510.GA16877@scru.org>

Clint Adams <clint@zsh.org>:
> 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.


      reply	other threads:[~2008-09-22 16:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-22 16:25 Clint Adams
2008-09-22 16:50 ` Frank Terbeck [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080922165043.GF11090@fsst.voodoo.lan \
    --to=ft@bewatermyfriend.org \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).