From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "ZSH workers mailing list" <zsh-workers@sunsite.auc.dk>
Subject: Cygwin path completion
Date: Fri, 16 Jun 2000 17:27:41 +0400 [thread overview]
Message-ID: <000701bfd796$a61a7040$21c9ca95@mow.siemens.ru> (raw)
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 >>
next reply other threads:[~2000-06-16 13:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-16 13:27 Andrej Borsenkow [this message]
2000-06-16 13:47 ` Peter Stephenson
2000-06-16 14:24 ` Andrej Borsenkow
2000-06-16 14:57 ` Peter Stephenson
2000-06-16 14:54 Sven Wischnowsky
2000-06-16 15:01 Sven Wischnowsky
2000-06-16 15:49 ` Andrej Borsenkow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000701bfd796$a61a7040$21c9ca95@mow.siemens.ru' \
--to=andrej.borsenkow@mow.siemens.ru \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).