http://qs321.pair.com?node_id=732595


in reply to Appending in a switch case statement

Simply you can use this below code as well in .basrc
function go { case $1 in (dashboard) cd $HOME/dashboard;; (2.8) cd $HOME/dashboard/2.8;; ($1) cd $HOME/$1;; esac; }
It will take to your $HOME directory default and from their your path, i meant instead "cd ~/<directories>" :-)