Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Use of vcs_info
- X-seq: zsh-users 14950
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- Subject: Re: Use of vcs_info
- Date: Mon, 22 Mar 2010 09:12:11 +0100
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=RX7Z+d0y5dJmD77BeDKDdK7Bdzi5DwsMwz0GRPbskr0=; b=N8dcPk7r3KFRSxe1isDmKnADMU7QxwMhYrFBuRFDfZ+ftts6YFc61Xj4oi2rI+k+6/ GWKMIlKMytcT/r4t/PjH5t1xjVDQyFaD3ZvX7f+UMmyIjcA04BZwEmd4df7MLGJupTYr 98qXoUyozPpwP7I83+Ht5EU5sCyyUVvtbeILI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=h9jrveaItiJ4Gv4jKmneQrqkvpHtP1YEpEUJus7fgcvrkFAiwdUwfusTdQukA3yBsk K+ddy3GYZDdsYQtTsEqPxqNa3vB8gaBw50hyJq/4WcdZRsLv8s8X0FZIYPCgm+BKBbDE 8zMPFI8+ExC0OomG91HsvnCwckCIjU+M7+s+Y=
- In-reply-to: <alpine.LNX.2.01.1003212254040.19615@xxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <alpine.LNX.2.01.1003212254040.19615@xxxxxxxxxxx>
On 22 March 2010 04:09, Benjamin R. Haskell <zsh@xxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author