This is the mail archive of the cygwin 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: readline completion


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
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

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


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