delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/17/02:20:47

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
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: readline completion
Date: Tue, 16 Aug 2005 23:18:20 -0700
Lines: 26
Message-ID: <ddukra$jhp$1@sea.gmane.org>
References: <081620052319 DOT 18475 DOT 4302749B0003BB090000482B22073007930A050E040D0C079D0A AT comcast DOT net> <Pine DOT GSO DOT 4 DOT 61 DOT 0508161939330 DOT 9560 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
In-Reply-To: <Pine.GSO.4.61.0508161939330.9560@slinky.cs.nyu.edu>
X-IsSubscribed: yes

Igor Pechtchanski wrote:

> On Tue, 16 Aug 2005, Eric Blake wrote:
>
>>> Besides, a one-time sequence of commands below will allow painless
>>> Tab-completion of /cygdrive:
>>>
>>> cd / && \
>>> mkdir /cygdrive && \
>>> cmd /c ren cygwin.bat Cygwin.bat && \
>>> cmd /c ren cygwin.ico Cygwin.ico
>>
>> Only if you don't have case-insensitive tab-completion turned on.
>> Me, I like 'shopt -s nocaseglob' in ~/.bashrc, and
>> 'set completion-ignore-case on' in ~/.inputrc, which then means
>> /cygdrive and /Cygwin.bat still have a common '[cC][yY][gG]' prefix,
>> so your trick doesn't help.
>
>
> Yes, that turns a '/c[Tab]' sequence into a '/c[Tab]d[Tab]' (two more
> keystrokes). :-)
> Igor

That's why I've long since changed cygdrive prefix to /dev! ;-)
-- 
On the keyboard of life, always keep one finger on the escape key.


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019