This is the mail archive of the
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] Updated: vim-7.0.122-1
Igor Peshansky <pechtcha <at> cs.nyu.edu> writes:
> P.S. One annoying thing about /cygdrive is that tab-completion for it is
> annoying OOTB, since there are also /cygwin.bat and /cygwin.ico. One
> thing I normally do on all new installs is rename those two files to
> /Cygwin.bat and /Cygwin.ico -- since bash uses case-sensitive completion
> by default, this allows /c<Tab> to get to /cygdrive immediately. Can we,
> perhaps, rename the .bat and the .ico files to start with a capital 'C' on
> new installs? I'll send a patch to cygwin-apps.
Won't work if you use case-insensitive tab-completion (or in other words, if
~/.inputrc contains 'set completion-ignore-case on').
However, this works for me, in my ~/.bashrc:
Basically, teach bash that during file completion, it should ignore files whose
suffix is either one of the two problematic filenames.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html