zsh-workers
 help / color / mirror / code / Atom feed
From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: Re: help with command completion
Date: 06 Jan 2000 08:52:45 +0900	[thread overview]
Message-ID: <rsqembw9iuq.fsf@crane.jaist.ac.jp> (raw)
In-Reply-To: Sven Wischnowsky's message of "Wed, 5 Jan 2000 14:42:54 +0100 (MET)"

In article <200001051342.OAA10929@beta.informatik.hu-berlin.de>,
  Sven Wischnowsky <wischnow@informatik.hu-berlin.de> 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


       reply	other threads:[~2000-01-05 23:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200001051342.OAA10929@beta.informatik.hu-berlin.de>
2000-01-05 23:52 ` Tanaka Akira [this message]
2000-01-06 10:56 Sven Wischnowsky
2000-01-06 11:22 ` Oliver Kiddle
2000-01-06 15:35 ` Tanaka Akira
  -- strict thread matches above, loose matches on Subject: below --
2000-01-05 15:55 Sven Wischnowsky
     [not found] <200001051437.PAA10986@beta.informatik.hu-berlin.de>
2000-01-05 15:46 ` Oliver Kiddle
2000-01-05 16:42   ` Andrej Borsenkow
2000-01-05 17:07     ` Tanaka Akira
2000-01-05 14:56 Sven Wischnowsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=rsqembw9iuq.fsf@crane.jaist.ac.jp \
    --to=akr@jaist.ac.jp \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).