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


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/


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