From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1782 invoked from network); 15 Mar 1999 16:57:48 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 15 Mar 1999 16:57:48 -0000 Received: (qmail 16710 invoked by alias); 15 Mar 1999 16:57:28 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5820 Received: (qmail 16702 invoked from network); 15 Mar 1999 16:57:26 -0000 X-Authentication-Warning: awayteam.zanshin.com: schaefer set sender to schaefer@tiny.zanshin.com using -f From: Bart Schaefer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14061.12987.924486.255866@localhost.localdomain> Date: Mon, 15 Mar 1999 08:18:03 -0800 (PST) To: Sven Wischnowsky Cc: zsh-workers@sunsite.auc.dk Subject: Re: Why doesn't compconfig[correct] apply to command names? In-Reply-To: <199903151024.LAA22969@beta.informatik.hu-berlin.de> References: <199903151024.LAA22969@beta.informatik.hu-berlin.de> X-Mailer: VM 6.68a under Emacs 20.3.5.1 Reply-To: Bart Schaefer Sven Wischnowsky writes: > > Bart Schaefer wrote: > > The correction logic is all in the branch of _main_complete that is used > > only when the context is not command. But I'd like to have it fix up the > > command names, too > > correct command. > > Err... you haven't tried, have you? (At least it works for me.) I had tried, in fact. The test I did (by accident) was zsh% maiql expecting it to complete to "mailq", which it did not -- it feeped. After peering at _main_complete for a bit, I tried zsh% echo =maiql and got a list of about a dozen possible corrections, which is why I brought it up. However, now that I've rebuilt with all the latest patches, it is working the same in both places.