Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: another small fix
- X-seq: zsh-workers 8655
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: another small fix
- Date: Wed, 17 Nov 1999 11:43:29 +0100 (MET)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
I removed the `-c' option for `_describe' and then forgot to re-build
the patch for `_arguments'. Sorry.
Bye
Sven
diff -u oldcompletion/Base/_arguments Completion/Base/_arguments
--- oldcompletion/Base/_arguments Wed Nov 17 10:56:35 1999
+++ Completion/Base/_arguments Wed Nov 17 11:41:26 1999
@@ -227,7 +227,7 @@
eval ws\=\( "${action[3,-3]}" \)
- _describe -c "$cmd" "$descr" ws -M "$match" "$subopts[@]"
+ _describe "$descr" ws -M "$match" "$subopts[@]"
elif [[ "$action" = \(*\) ]]; then
@@ -274,13 +274,13 @@
tmp1=( "${(M@)tmp1:#[-+]?(|:*)}" )
tmp2=( "${PREFIX}${(@M)^${(@)${(@)tmp1%%:*}#[-+]}:#?}" )
- _describe -o -c "$cmd" option \
+ _describe -o option \
tmp1 tmp2 -Q -S ''
fi
single=yes
else
next=( "$next[@]" "$odirect[@]" )
- _describe -o -c "$cmd" option \
+ _describe -o option \
next -Q -M "$match" -- \
direct -QS '' -M "$match" -- \
equal -QqS= -M "$match"
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author