zsh-workers
 help / color / mirror / code / Atom feed
* Path completion under Cygwin
@ 2000-05-26 11:00 Andrej Borsenkow
  0 siblings, 0 replies; only message in thread
From: Andrej Borsenkow @ 2000-05-26 11:00 UTC (permalink / raw)
  To: ZSH workers mailing list

Cygwin (again, it is current net release 1.1.1 - I do not know, if it
applies to previous B20 release as well) allows access to all drives on
NT via

/cygdrive/c
          d
         ...

This is really magic - 'ls /cydrive' is an error, but 'ls /cygdrive/c'
shows your C: drive:

MW1G17C%
MW1G17C% rm zsh.exe.stackdump
MW1G17C% ls /cygdrive
ls: /cygdrive: No such file or directory
MW1G17C% ls /cygdrive/c
AUTOEXEC.BAT                System Volume Information
Aladdin                     WINNT
CONFIG.SYS                  Windows Update Setup Files
  ...

Any chance incorporate this in completion? Of course, real question is,
is there any way to get list of all drives ... but, at least, we could
treat "/cygdrive/X" specially. Currently, any attempt to complete path
with this prefix fails.

At runtime we could check for $OSTYPE

MW1G17C% print $OSTYPE
cygwin

-andrej

Have a nice DOS!
B >>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-05-26 11:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-26 11:00 Path completion under Cygwin Andrej Borsenkow

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).