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

Re: PATCH: 3.1.6-test-2: _parameters



I wrote:

> Then it changes _parameters.

Urgh. I thought we had that in _main_complete, sorry.

Bye
 Sven

diff -u oc/Core/_parameters Completion/Core/_parameters
--- oc/Core/_parameters	Fri Jul 23 10:58:35 1999
+++ Completion/Core/_parameters	Fri Jul 23 11:21:06 1999
@@ -5,6 +5,7 @@
 # arguments are given to compadd.
 
 if zmodload -e parameter; then
+  setopt localoptions extendedglob
   compadd "$@" - ${(k)parameters[(R)^*local*]}
 else
   compadd "$@" - ${${${(f)"$(typeset +)"}:#*local *}##* }

--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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