I’m trying to write a shortcut for a frequently visited directory so that I can eliminatecd (I know, I know, but I’m lazy). So I wrote a function in my .zshrc that does this: progs () { if [[ -z $1 ]]; then cd /Volumes/data/progs else cd /Volumes/data/progs/$1 fi } […]