cdpath (cd/autocomplete to specified directories from anywhere)
In zsh, you can set e.g. cdpath=(~/src/github.com/myfreeweb)
and then from any directory you can type dotfiles
to cd to ~/src/github.com/myfreeweb/dotfiles
, and autocompletion would offer these directories (subdirectories of anything on cdpath
) anywhere too.