How do I restore tab-completion on shell variables on the bash command-line?
- by Eric
I've long set my most-recently visited directories to shell variables d1, d2, etc.
On an ancient Fedora machine I could type a command like
$ cp $d1/
and the shell would replace $d1 with text like /home/acctname/projects/blog/ and would
then show me the contents of .../blog, like any tab-completion.
Now, both ubuntu wheezy/sid and fedora 16…