cygwin file path tab completion not working

Viewed 18789

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?

5 Answers

Every time I install Cygwin on a new system, I have trouble getting tab completion to work the way I want it to, which is to scroll through the completion results with each TAB stroke rather than listing potential results and requiring that I continue until typing until finding a unique one that will actually complete with a TAB press.

The way to get it to scroll through valid results is to place the following command string in your ~/.bashrc file:

bind TAB:menu-complete
Related