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 Message-ID: <42AD5A7C.CF9A882B@dessent.net> Date: Mon, 13 Jun 2005 03:05:48 -0700 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Question about tab completion References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Report: -5.6/5.0 ---- Start SpamAssassin results * -3.3 ALL_TRUSTED Did not pass through any untrusted hosts * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] * 0.3 AWL AWL: From: address is in the auto white-list ---- End SpamAssassin results X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mikael wrote: > 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? Tab completion doesn't know about mounts, only directories and files. Since there is not actually a directory in the root named 'c' (underneath the mount), tab completion doesn't consider it. In other words, if you do "ls /" you won't see /c, which is essentially all that tab completion does. You can get the desired behavior though by actually creating a directory there. But you can't do this while /c is mounted, so you'll have to temporarily set the cygdrive to something else. $ mount -c /cygdrive $ mkdir /c $ mount -c / Brian -- 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/