how can a complete novice such as myself set up her cygwin to have tab completion?
edit: I do have it automatically. but It does not seem to complete paths. how do I set it up to complete paths?
thanks!
how can a complete novice such as myself set up her cygwin to have tab completion?
edit: I do have it automatically. but It does not seem to complete paths. how do I set it up to complete paths?
thanks!
It's not cygwin per se that "has" tab completion; it's the shell you're using. By default, the cygwin shell is bash, which does indeed provide basic tab completion for executables on your path and files in the current directory. Does it not work for you?
Cygwin is just an environment; the program you're interacting with is called the shell. There are many shells - bash, zsh, and others.
For bash, I've found this set of instructions to modify your .inputrc file.
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'.