delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: Question about tab completion |
Date: | Mon, 13 Jun 2005 11:04:31 +0100 |
MIME-Version: | 1.0 |
In-Reply-To: | <d8jju1$294$1@sea.gmane.org> |
Message-ID: | <SERRANOCSZDJSFeEB5100000007@SERRANO.CAM.ARTIMI.COM> |
----Original Message---- >From: Mikael >Sent: 13 June 2005 10:39 > Hello, I've altered my mounts so I can do: > $ cd /c/somedirectory > instead of > $ cd /cygdrive/c/somedirectory > The ouput of mount is: > $ mount > C:\cygwin\bin on /usr/bin type system (binmode) > C:\cygwin\lib on /usr/lib type system (binmode) > C:\cygwin on / type system (binmode) > c: on /c type system (binmode,noumount) > > But say I type /c<tab>, instead of stopping at c as I thought would > happen, /cyg is completed and these three are displayed: > cygdrive cygwin.bat cygwin.ico > > Why? Why doesn't it stop at c? Have I done something wrong with my mounts > or is this as it should be? IIUIC, mount points aren't detected by tab-completion. The simple workaround? Create a subdirectory called 'c' in your root dir using "mkdir /c" so that /c/ is a real path: then tab completion sees the real dir and uses it in completion, but the mount point overrides any attempt to access files through that path so you still get to your C drive instead of the 'c' subdir. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |