Cdpath - Cd To Your Project Directory From Anywhere
My projects are organized the following way:
~
├── ...
├── Projects
│ ├── Project1
│ ├── Project2
│ └── Project3
└── ...
In your ~/.bash_profile
, ~/.bashrc
or ~/.zshrc
just add:
CDPATH=.:~/Projects
Now enjoy being able to cd Project1
, cd Project2
or cd Project3
from anywhere:
~$ cd /
/$ cd pempek.net
/Users/greedo/Projects/pempek.net
~/Projects/pempek.net (master *)$