I\'m running Ubuntu 11.04, and I\'m seeing some odd behaviour when I try to use tab-completion in bash on a path that starts with a variable. If I\'ve got TOP=/scratch, and
The bug report refered to in other answers at bugs.launchpad.net gives a new workaround by issuing the command:
shopt -s direxpand
It works for me.