Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

CentOS:

curl -Sso ~/Des[TAB]

autocompletes to:

curl -Sso ~/Desktop/

Ubuntu:

curl -Sso ~/Des[TAB]

does NOTHING.

I can "fix" this by uninstalling bash-completion, but that's not a real fix.

How do I get sane behavior out of bash-completion under Ubuntu 12.10?

share|improve this question

migrated from stackoverflow.com Jan 3 '13 at 21:39

This question came from our site for professional and enthusiast programmers.

    
2nd google match bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866 - you can start searching from there – java_xof Jan 3 '13 at 21:38
    
I don't believe that is related to my problem. My shell escapes characters such as spaces while auto-completing just fine. – user1946605 Jan 3 '13 at 22:23

Uncomment the following section in /etc/bash.bashrc:

if ! shopt -oq posix; then
  if [ -f /usr/share/bash-completion/bash_completion ]; then
    . /usr/share/bash-completion/bash_completion
  elif [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
  fi
fi
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .