Page 1 of 1

[solved] bash tab auto-completion - extra trailing space

Posted: Mon Feb 21, 2011 7:26 am
by kwevej
Hi there,
since last update, bash bothers me with an extra trailing space.
For instance, when I type "cat /et" and press tab, i got "cat /etc "

Anyone has the same?

apt log:

Code: Select all

sudo apt-log -e -hs bash

 Package name: bash (installed)
==================================
 On 2010-08-04 at 10:53:34  : installed (4.1-3)


 Package name: bash-completion (installed)
=============================================
 On 2010-08-04 at 09:07:47  : installed (1:1.2-2)
 On 2010-11-27 at 18:31:56  : upgraded (1:1.2-2 --> 1%3a1.2-3)
 On 2010-11-27 at 18:31:57  : upgraded (1:1.2-2 --> 1:1.2-3)
 On 2011-02-18 at 00:30:15  : upgraded (1:1.2-3 --> 1%3a1.3-1)
 On 2011-02-18 at 00:30:30  : upgraded (1:1.2-3 --> 1:1.3-1)

Re: bash tab auto-completion - extra trailing space after up

Posted: Mon Feb 21, 2011 8:02 am
by kwevej
Uh, solved.

It was caused by acrobat reader completion.
solution:

Code: Select all

rm /etc/bash_completion.d/acroread.sh
inspired by:
https://bugs.archlinux.org/task/22807