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

I used to be able to type

cd $home/p

hit the tab key and the command would change to

cd /home/phill

Now it doesn't. When cd'ing to a directory based on an environmental variable, I'm "flying blind" now which is annoying. I know this feature exists because it was fine on my old Debian 5 machine.

I'm using Debian 6 stable. I installed the bash completion package which allows to complete partial environmental variables but that isn't what I want. Unfortunately talk of that feature is clogging up results on Google.

Help would be very much appreciated.

share|improve this question
up vote 3 down vote accepted

I just diffed my two bash_rc files. Turns out I need to delete the section that sources /etc/bash_completion, that is, to NOT use bash_completion extensions.

share|improve this answer
    
Good to know. Thanks for reporting :) – SkyBeam May 28 '11 at 15:33
    
Is there any way to make it work w/o needing to disable all the useful completions provided by /etc/bash_completion? – BeeOnRope Aug 17 '11 at 2:32
    
Sorry, I don't know. I think that requires a fresh post. – Philluminati Aug 23 '11 at 10:49

You must log in to answer this question.

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