From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2252 invoked from network); 5 Jan 2000 23:52:57 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 5 Jan 2000 23:52:57 -0000 Received: (qmail 9690 invoked by alias); 5 Jan 2000 23:52:51 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9226 Received: (qmail 9683 invoked from network); 5 Jan 2000 23:52:50 -0000 To: zsh-workers@sunsite.auc.dk Subject: Re: help with command completion References: <200001051342.OAA10929@beta.informatik.hu-berlin.de> MIME-Version: 1.0 (generated by AKEMI 1.13.2 - =?ISO-2022-JP?B?Ig==?= =?ISO-2022-JP?B?GyRCQTA0Y0s8GyhCIg==?=) Content-Type: text/plain; charset=US-ASCII From: Tanaka Akira 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)" Message-ID: User-Agent: Chao-gnus/6.12.5 AKEMI/1.13.2 (=?ISO-2022-JP?B?GyRCQTAbKEI=?= =?ISO-2022-JP?B?GyRCNGNLPBsoQg==?=) FLAM-DOODLE/1.12.6 (=?ISO-2022-JP?B?GyRCM3cbKEI=?= 10R4.0/5.0) Emacs/20.4 (sparc-sun-solaris2.6) MULE/4.0 (HANANOEN) In article <200001051342.OAA10929@beta.informatik.hu-berlin.de>, Sven Wischnowsky 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