This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bash 2.05a-3: option to allow drive letter prefixes for completion?


Chris,

I have a symbolic link in my Cygwin root for each drive on my system (e.g., 
/c -> /cygdrive/c). Completion in BASH recognizes these symlinks and 
follows them (without expanding it to the target).

Randall Schulz
Mountain View, CA USA


At 09:45 2002-04-16, Chris Metcalf wrote:
>Currently, if you use completion on a path with a drive letter (e.g. "ls 
>-d c:/win<TAB>"), bash considers the drive letter to be unrelated syntax 
>and expands out of the mounted root instead (e.g. c:/cygwin). This is 
>quite understandable and defensible, but it would be nice to allow drive 
>letters to be considered part of the path name if the user so chooses.  In 
>defense of this option, I submit:
>
>  * If I enter "ls -d c:/win*", the shell *does* include the drive
>    letter prefix as part of the path, and globs corrects (to c:/winnt).
>
>  * tcsh (6.11.00-4) by default does filename completion including
>    drive letter prefixes.
>
>Thanks for your consideration.
>
>                 Chris Metcalf


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]