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

Re: problem with multicomp



> I'm sure that you set the nounset option.  Try the patch below to
> multicomp.  One may say that it is a bug to that nounset gives an error
> message when subscript is out of range bug as I know zsh always did that.
> The oldest version I have is zsh-2.6-beta13-hzoli13 does this.

I forgot the patch.  Here it is.

Zoltan


--- Functions/multicomp	1996/05/02 22:57:04	2.0
+++ Functions/multicomp	1996/08/02 17:36:08
@@ -16,7 +16,7 @@
 
 local pref head sofar origtop newtop globdir="(-/)" wild
 setopt localoptions nullglob rcexpandparam globdots
-unsetopt markdirs globsubst shwordsplit
+unsetopt markdirs globsubst shwordsplit nounset
 
 pref="${1}$2"
 # Hack to allow programmable completion to select multicomp after a :



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