2
1
I've just started messing around with cygwin. I've noticed when use the tab auto-complete feature for commands it always adds a '.exe' even though one isn't needed to run the command.
Is there a way to hide the '.exe' part of the bash commands?
2
1
I've just started messing around with cygwin. I've noticed when use the tab auto-complete feature for commands it always adds a '.exe' even though one isn't needed to run the command.
Is there a way to hide the '.exe' part of the bash commands?
2
Enabling the completion_strip_exe
option (specific to the Cygwin port of Bash) does what you want:
shopt -s completion_strip_exe
For more details, see my answer to a similar question.
2
The tab auto-complete feature simply prints the name of the file.
If the file is named grep.exe
, then that is what will print.
Possibly a better option than tab auto-complete would be Control-R
$ grep -r Steven *
(reverse-i-search)`S': grep -r Steven *