zsh-users
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: "Benjamin R. Haskell" <zsh@benizi.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: Use of vcs_info
Date: Mon, 22 Mar 2010 09:12:11 +0100	[thread overview]
Message-ID: <237967ef1003220112i25a5e030pc8a024a3d782096e@mail.gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.01.1003212254040.19615@hp.internal>

On 22 March 2010 04:09, Benjamin R. Haskell <zsh@benizi.com> wrote:
> I don't fully understand how best to use vcs_info.
>
> My first question is:  what's with the weird $vcs_info_msg_#_ variable
> names? (Why not an array?)
>
> But, beyond that, my big question is: Is there a way to access the
> vcs_comm variable that's sprinkled throughout the VCS_Info functions
> directory?  My guess is that the easiest thing for me to do would be to
> simply remove the 'local -Ax vcs_comm' line in vcs_info, but everything
> else is so well-organized that I figured I must just be missing some way
> to get that variable exported.
>
> The most helpful page so far was Frank Terbeck's prompt_ft_setup
> page[1].  Otherwise I'd've had to have read even more of the code to
> figure out the various

Did you read the vcs_info section in the man page? I haven't but it's
quite long so it probably covers everything :).

-- 
Mikael Magnusson


  reply	other threads:[~2010-03-22  8:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-22  3:09 Benjamin R. Haskell
2010-03-22  8:12 ` Mikael Magnusson [this message]
2010-03-22  8:25 ` Frank Terbeck
2010-03-22  8:48   ` Benjamin R. Haskell
2010-03-22  9:19     ` Frank Terbeck

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=237967ef1003220112i25a5e030pc8a024a3d782096e@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=zsh-users@zsh.org \
    --cc=zsh@benizi.com \
    /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).