CDPATH
CDPATH is to cd what PATH is to exectable. You can go to a folder inside any of the CDPATH folders by just cd 'folder name'
– no mater where you are currently.
export CDPATH='.:~:/var/www/html:~/Scripts'
CDPATH is to cd what PATH is to exectable. You can go to a folder inside any of the CDPATH folders by just cd 'folder name'
– no mater where you are currently.
export CDPATH='.:~:/var/www/html:~/Scripts'