Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: _call
- X-seq: zsh-workers 9920
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: _call
- Date: Tue, 29 Feb 2000 08:30:30 +0100 (MET)
- In-reply-to: Sven Wischnowsky's message of Tue, 29 Feb 2000 08:22:59 +0100 (MET)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Should have read all my mail before replying to one...
Bart told me that I forgot to include the hunk for _call itself.
Sorry, sorry, sorry.
Bye
Sven
diff -ru ../z.old/Completion/Core/.distfiles Completion/Core/.distfiles
--- ../z.old/Completion/Core/.distfiles Mon Feb 28 12:58:18 2000
+++ Completion/Core/.distfiles Tue Feb 29 08:28:22 2000
@@ -1,6 +1,6 @@
DISTFILES_SRC='
.distfiles
- _alternative _approximate _compalso _complete _correct _description
+ _alternative _approximate _call _compalso _complete _correct _description
_expand _files _funcall _list _main_complete _match
_menu _multi_parts _message _normal _oldlist _options
_parameters _path_files _prefix _requested _sep_parts
diff -ru ../z.old/Completion/Core/_call Completion/Core/_call
--- ../z.old/Completion/Core/_call Tue Feb 29 08:29:14 2000
+++ Completion/Core/_call Mon Feb 28 10:39:32 2000
@@ -0,0 +1,13 @@
+#autoload
+
+local tmp
+
+if zstyle -s ":completion:${curcontext}:${1}" command tmp; then
+ if [[ "$tmp" = -* ]]; then
+ eval "$tmp[2,-1]" "$argv[2,-1]"
+ else
+ eval "$tmp"
+ fi
+else
+ eval "$argv[2,-1]"
+fi
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author