Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: 3.1.6-test-2: _parameters
- X-seq: zsh-workers 7261
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: 3.1.6-test-2: _parameters
- Date: Fri, 23 Jul 1999 11:22:42 +0200 (MET DST)
- In-reply-to: Sven Wischnowsky's message of Fri, 23 Jul 1999 10:57:06 +0200 (MET DST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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