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

Re: VCS_INFO functions break with setopt no_unset



Hi Philip,

Philip Sequeira wrote:
> With setopt no_unset in my config file, vcs_info fails with:
> VCS_INFO_maxexports:7: vcs: parameter not set

I just checked and this was not committed yet. So I am doing that now.

> The attached patch fixes it on my system, but I don't know if it's the
> best way to deal with the problem.

I always thought NO_UNSET was a rather weird setting; but I guess this
will do for now. If things get more complicated, we can always blast all
vcs_info functions with a stern "emulate -L zsh" on top of each
function.


Regards, Frank

-- 
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
                                                  -- RFC 1925



Messages sorted by: Reverse Date, Date, Thread, Author