I have been bugged for few months now by an unusual behavior of BASH where it adds an additional space after every auto-completed directory name. Initially, I just compromised with the behavior and continued. But lately, it has become an annoyance to press the
backspace key after every auto-completed directory name.
The issue is due to the fact that the
bash auto-completion logic defined in
acroread's auto-completion file located at
/etc/bash_completion.d/acroread.sh overrides the default behavior.
There are quite a few solutions to this issue:
- The easiest is to delete
/etc/bash_completion.d/acroread.shand restart your shell.
- Alternatively, you can consider and renaming the variable
/etc/bash_completion.d/acroread.shwith a custom name say,
_acroread_filedir. More information about this solution is available in the Adobe Reader for Linux forum.3