From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4023 invoked from network); 12 Jul 2001 05:38:00 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 12 Jul 2001 05:38:00 -0000 Received: (qmail 29908 invoked by alias); 12 Jul 2001 05:37:49 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4028 Received: (qmail 29897 invoked from network); 12 Jul 2001 05:37:49 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) Date: Thu, 12 Jul 2001 09:37:42 +0400 (MSD) From: Andrej Borsenkow X-X-Sender: To: Michael Schaap cc: Andrew Markebo , Bart Schaefer , Subject: Re: ehh... zsh: correct 'cvs' to '_cvs' [nyae]? n In-Reply-To: <5.1.0.14.2.20010712001520.0382edc0@imap.local.mscha.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 12 Jul 2001, Michael Schaap wrote: > At 21:20 11-7-2001, Andrew Markebo wrote: > >Just a thought.. I picked the source for zsh and compiled it under > >cygwin.. Forgot to mention which platform before. > > Oh yes, that makes a difference! > > I posted to the list about this problem a short while ago. Check the > archives for a thread "Zsh observations". Andrej Borsenkow sent a patch > that fixes the problem. > > (The problem is that zsh doesn't find "/bin/cvs", but > "/bin/cvs.exe". Therefore, it tries to correct "cvs" to the closest it can > find, which is the autoloaded "_cvs" function.) > So, once again - should we stop hashing foo.exe (i.e. hash just foo)? Currently foo.exe is not visible anyway so I cannot see what difference would it have. The problem is, of course, =cmd won't be the same as /path/to/cmd.exe. But it the same with my patch as well. -andrej