Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: help with command completion
- X-seq: zsh-workers 9226
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: help with command completion
- Date: 06 Jan 2000 08:52:45 +0900
- In-reply-to: Sven Wischnowsky's message of "Wed, 5 Jan 2000 14:42:54 +0100 (MET)"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <200001051342.OAA10929@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
In article <200001051342.OAA10929@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:
> + _wanted printers expl printer && compadd "$expl" - "$_lp_cache[@]"
"$expl" should be "$expl[@]".
Index: Completion/User/_lp
===================================================================
RCS file: /projects/zsh/zsh/Completion/User/_lp,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 _lp
--- Completion/User/_lp 2000/01/05 15:00:19 1.1.1.2
+++ Completion/User/_lp 2000/01/05 23:45:16
@@ -15,7 +15,7 @@
fi
if compset -P -P || [[ "$words[CURRENT-1]" = -P ]]; then
- _wanted printers expl printer && compadd "$expl" - "$_lp_cache[@]"
+ _wanted printers expl printer && compadd "$expl[@]" - "$_lp_cache[@]"
else
if [[ "$words[1]" = (lpq|lprm) ]]; then
if [[ "$words" = *-P* ]]; then
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author