Mail Archives: cygwin/2006/10/12/10:24:02
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:
export FIGNORE=cygwin.bat:cygwin.ico
Basically, teach bash that during file completion, it should ignore files whose
suffix is either one of the two problematic filenames.
--
Eric Blake
--
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 -