I am experiencing a similar problem with Mercurial in Natty -- spaces in filenames are not escaped when I tab-complete Mercurial commands (like hg add ...). A very old version of Mercurial on Lucid had the escaping problem; when I installed a new PPA version the problem was fixed. Now I have a fresh Natty install and a PPA version of Mercurial (1.9.1) and the problem is back.
It's not acroread.sh; I definitely don't have Acrobat Reader installed and I don't have this file in /etc/bash_completion.d.
I tried changing -o default to -o filenames in /etc/bash_completion, and there was no change.
However, when I turn off sourcing /etc/bash_completion in my .bashrc, the Mercurial completion works as expected. So there is definitely something in this file which is messing things up -- but it doesn't appear to be the default/filenames change.
I haven't experienced completion problems with any other command.
I am experiencing a similar problem with Mercurial in Natty -- spaces in filenames are not escaped when I tab-complete Mercurial commands (like hg add ...). A very old version of Mercurial on Lucid had the escaping problem; when I installed a new PPA version the problem was fixed. Now I have a fresh Natty install and a PPA version of Mercurial (1.9.1) and the problem is back.
It's not acroread.sh; I definitely don't have Acrobat Reader installed and I don't have this file in /etc/bash_ completion. d.
I tried changing -o default to -o filenames in /etc/bash_ completion, and there was no change.
However, when I turn off sourcing /etc/bash_ completion in my .bashrc, the Mercurial completion works as expected. So there is definitely something in this file which is messing things up -- but it doesn't appear to be the default/filenames change.
I haven't experienced completion problems with any other command.