Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cygwin file path tab completion not working

Tags:

bash

cygwin

How can I set up Cygwin to have tab completion?

Actually, I do have it automatically, but it does not seem to complete paths. How do I set it up to complete paths?

like image 656
codekitty Avatar asked Nov 26 '09 13:11

codekitty


1 Answers

Cygwin paths typically start with /cygdrive/c (substitute whatever drive letter you happen to be using, of course). So to complete c:\Program Files, you must type (for instance) /cygdrive/c/Prog and then press TAB.

Also, note that Cygwin is case-sensitive, so /cygdrive/c/prog would not complete to c:\Program Files due to the lowercase 'p'.

like image 85
Emerick Rogul Avatar answered Sep 22 '22 22:09

Emerick Rogul