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

Re: PATCH: Cleaner envrionment after some completions



On Apr 23, 10:19pm, Tobias Gruetzmacher wrote:
}
} +++ mod/Completion/Unix/Command/_subversion
}  
}    if (( ! $+_svn_cmds )); then
} -    typeset -gA _svn_cmds
} +    typeset -A _svn_cmds

This one is wrong.  The "g" in there makes _svn_cmds a global; if it's
removed to make it a a local, then 'if (( ! $+_svn_cmds ))' will always
be true, and _call_program will always be run.

Perhaps you meant 'typeset -gHA _svn_cmds' ?



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