zsh-users
 help / color / mirror / code / Atom feed
* error msg 'no such option: localpatterns' on tab completion
@ 2014-03-12 21:54 rj
  2014-03-13  0:44 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: rj @ 2014-03-12 21:54 UTC (permalink / raw)
  To: zsh-users

[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]

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 #2: Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: error msg 'no such option: localpatterns' on tab completion
  2014-03-12 21:54 error msg 'no such option: localpatterns' on tab completion rj
@ 2014-03-13  0:44 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2014-03-13  0:44 UTC (permalink / raw)
  To: zsh-users

On Mar 12,  5:54pm, rj wrote:
}
} 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

It would appear that the zsh 5.0.0 binary is still running but the
compsys library has been updated to the 5.0.5 file set.

What do you get from e.g. "print $ZSH_PATCHLEVEL" ?

You'll need to find out how/why you're still running the old binary.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-13  0:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-12 21:54 error msg 'no such option: localpatterns' on tab completion rj
2014-03-13  0:44 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).