usage Add the following to your ~/.bashrc or ~/.bash_profile myshell=path/to/this/git oripath=`pwd` cd $myshell . path/to/this/git/loader.sh cd $oripath