It will take to your $HOME directory default and from their your path, i meant instead "cd ~/<directories>" :-)function go { case $1 in (dashboard) cd $HOME/dashboard;; (2.8) cd $HOME/dashboard/2.8;; ($1) cd $HOME/$1;; esac; }
In reply to Re: Appending in a switch case statement
by gube
in thread Appending in a switch case statement
by diffredential
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |