From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5453 invoked from network); 16 Jun 2000 13:28:13 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 16 Jun 2000 13:28:13 -0000 Received: (qmail 23569 invoked by alias); 16 Jun 2000 13:27:54 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11945 Received: (qmail 23560 invoked from network); 16 Jun 2000 13:27:48 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer goliath.siemens.de) From: "Andrej Borsenkow" To: "ZSH workers mailing list" Subject: Cygwin path completion Date: Fri, 16 Jun 2000 17:27:41 +0400 Message-ID: <000701bfd796$a61a7040$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Cygwin has magic prefix ``/cygdrive'' that can be used to access any drive under NT (obviating need to explicitly mount them). ``/cygdrive/d/foo'' is the same as ``D:\foo''. Currently Zsh cannot complete path beginning with /cygdrive because it tries globbing and this does not work (hmm ... may be, it may be considered a bug in Cygwin): mw1g017@MW1G17C:/cygdrive/h/src% ls /cygdrive ls: /cygdrive: No such file or directory mw1g017@MW1G17C:/cygdrive/h/src% ls /cygdrive/c AUTOEXEC.BAT SYSBUILD Aladdin System Volume Information ...... mw1g017@MW1G17C:/cygdrive/h/src% ls / PalmDev lib uninst.bat bin login.README usr etc prc-tools var inetutils-1.3.2.README tmp (note current dir as /cygdrive/h/... - this is $HOME on server). Even if we cannot find out all drives (is it possible?) _path_files still has to treat /cygdrive/?/ specially, and not try to glob it. It can also always offer ``cygdrive'' for the first component (of course, if it matches current prefix/suffix). -andrej Have a nice DOS! B >>