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

error msg 'no such option: localpatterns' on tab completion



My ISP upgraded from zsh-5.0.0 to zsh-5.0.5, suddenly I get this error when
I tab-complete a file name (before hitting <RETURN>):

(eval):setopt:3: no such option: localpatterns
(eval):5: bad option: -p

I don't have a "localpatterns" option set, but I do see this among
everything else when I type 'set' at the prompt:

---------------------------------
_comp_setup='local -A _comp_caller_options;
             _comp_caller_options=(${(kv)options[@]});
             setopt localoptions localtraps localpatterns
${_comp_options[@]};
             local IFS=$'' \t\r\n\0''
             enable -p \| \~ \( \? \* \[ \< \^ \#
             exec </dev/null;
             trap - ZERR
             local -a reply
             local REPLY'
---------------------------------

But I don't know where that's set (I looked in .zcompdump) or how to change
it.

I'm using zsh-5.0.5 at home and on another ISP (& nearly identical config
files in all 3 places) with no problems.

How can I apply a fix to remove the error message?


Attachment: pgpLfDtFNrhij.pgp
Description: PGP signature



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