From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11613 invoked from network); 26 Jun 2000 16:03:52 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 26 Jun 2000 16:03:52 -0000 Received: (qmail 23654 invoked by alias); 26 Jun 2000 16:03:35 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3213 Received: (qmail 23646 invoked from network); 26 Jun 2000 16:03:33 -0000 From: "Bart Schaefer" Message-Id: <1000626160323.ZM29980@candle.brasslantern.com> Date: Mon, 26 Jun 2000 16:03:23 +0000 In-Reply-To: <20000626083438.B22758@corp.phone.com> Comments: In reply to Matt Armstrong "Re: (forw) --help able programs and completion]" (Jun 26, 8:34am) References: <200006261112.NAA19632@beta.informatik.hu-berlin.de> <1000626151901.ZM25800@candle.brasslantern.com> <20000626083438.B22758@corp.phone.com> X-Mailer: Z-Mail (5.0.0 30July97) To: Matt Armstrong , zsh-users@sunsite.auc.dk Subject: Re: (forw) --help able programs and completion] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 26, 8:34am, Matt Armstrong wrote: } } squeaker% tar --_main_complete:142: permission denied: } } tar: You must specify one of the `-Acdtrux' options } Try `tar --help' for more information. } } Let me know if there is more I can help to debug this. The standard thing nowadays is to use the _complete_debug binding, which should be ctrl-x question-mark. You type instead of at any lace where the new completion system is giving you trouble, and it'll `setopt xtrace` (temporarily) and dump the output into a temp file. An entry is made into your command history to run an editor or pager on the temp file (so you can use ctrl-p to find it). Most of the time it also manages to tell you what it did and the name of the temp file, but that doesn't always work because other completion output may cover it up. } Line 142 of _main_complete is: } } elif "$tmp"; then (That's line 152 in the latest CVS snapshot.) That's supposed to be executing a completer, which should be a shell function. If that's really where the error is occuring (I ought to trust zsh's line numbering more than I do) then you probably have a bad entry in your "completer" zstyle. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net