On Mon, Oct 18, 2004 at 09:54:21PM -0700, Bart Schaefer wrote: > _store_cache is meant to be called from the completion system functions, > which are meant to execute only with the setopts in the $_comp_options > array in effect. Nearly all functions in the completion system assume > those settings and make no effort to work with arbitrary combinations of > setopts. Actually _comp_options neither set no unset KSH_TYPESET along with MAGIC_EQUAL_SUBST. Hence the problem. Here is a patch. Anyway I can't understand why "$var=( ${(kv@Pqq)^^var} )" should give only one element for array with those options set. --- zsh-4.2.1/Completion/compinit- 2004-08-13 10:22:16 +0000 +++ zsh-4.2.1/Completion/compinit 2004-10-19 14:06:27 +0000 @@ -145,6 +145,8 @@ _comp_options=( NO_aliases NO_errexit NO_octalzeroes + NO_kshtypeset + NO_magicequalsubst ) # And this one should be `eval'ed at the beginning of every entry point
Attachment:
pgpeoE2T4iAeH.pgp
Description: PGP signature