Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Use of vcs_info

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