how to get bash to stop escaping $ during tab-completion?
- by keturn
I have this on the command line:
ln -sf $PWD/wine-
and then I hit tab to complete the filename. In earlier versions of Ubuntu, this worked just fine to complete the wine- filename (and as a side-effect $PWD would be expanded at that time). But now it turns it in to
ln -sf \$PWD/wine-
which isn't what I meant at all and doesn't complete anything as the file does not literally start with $.
How do I get completion back to the less broken behaviour?
set tells me these are my current settings:
BASHOPTS=checkwinsize:cmdhist:expand_aliases:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor