Sunday, June 12, 2005

Set cdable directories

In .bashrc:

shopt -s cdable_vars
export bin=~/bin
export doc=~/files/MyDocs


*Note: It doesn't seem to work if it's in .bash_profile.

2 Comments:

Blogger saoullabit said...

try ~.bashrc

6:10 AM  
Blogger saoullabit said...

This comment has been removed by the author.

6:11 AM  

Post a Comment

<< Home