You are not logged in.
Pages: 1
I have been trying to put
export CDPATH=.:~:/etc:/varor
export CDPATH=".:~:/etc:/var"or
export CDPATH='$CDPATH.:~:/etc:/var'in my .bashrc, so that I can "cd" more conveniently, but when I use "Tab" key, it doesn't auto complete the folder name? Am I doing something wrong? how to make it work?![]()
Last edited by yingwuzhao (2009-03-16 17:23:45)
Offline
Hi, I am sorry let me rephrase my question: when I use "Tab" key, it doesn't auto complete the folder name,
is there any way to make this work?
Offline
Oh! I'm sorry, seems I didn't read well enough again. ![]()
Do you have the bash-completion package installed and sourced /etc/bash_completion in your .bashrc? I just tested it and it works that way. Extension of CDPATH seems to be considered extended functionality.
Thanks for introducing me to this, though - will save me from quite some typing. ![]()
Offline
hey, thanks, that helps!
Now I use soft links, which gives me same functionality, too.![]()
Last edited by yingwuzhao (2009-03-17 05:56:28)
Offline
Pages: 1