Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've installed bash_completion and set my $CDPATH. I can successfully cd to subdirectories of those in my $CDPATH. What I'd like to do from here is for tab completion to bring up files in those subdirectories, such that for a file /usr/local/foo/bar, and my $CDPATH containing /usr/local/foo, I'd like to (e.g.) enter vi b<TAB> and have bar come up. Is that possible?

share|improve this question
Did you ever find an answer to this? I'm currently looking myself. –  Eric M. Oct 11 at 19:04
No luck. I've pretty well given up on it. –  Kit Peters Oct 13 at 0:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.