Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: RE: Question about tab completion Date: Mon, 13 Jun 2005 11:04:31 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: Message-ID: ----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, 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/