I use GNU Emacs on Windows and Cygwin as my shell. If I create a Cygwin shell subprocess with M-x shell, I get a proper bash prompt. If I type this:

cd ~/My<tab>

it tab-completes to

cd ~/My Documents/

which is correct in Emacs/Tramp, but useless in the Cygwin bash shell subprocess, since the space has to be escaped with a backslash.

How do I get this tab-completion to automatically insert a backslash?

link|improve this question

80% accept rate
Do you have something weird in your /etc/bash_completion.d/? Also does this solves your problem? – Ammar Abdulaziz Jan 31 at 19:49
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.