4 ms·
I’ve used these aliases since I first started using csh (below syntax for zsh): alias .=cd alias ,=pushd alias ,,=popd alias ,.='dirs -v' No n
by bakul 9y ago
I’ve used these aliases since I first started using csh (below syntax for zsh):
alias .=cd
alias ,=pushd
alias ,,=popd
alias ,.='dirs -v'
No need to alias .. as in zsh you can use a dir name as a command to cd to it. Setting cdpath can further cut down on typing. For example
cdpath=(. .. ~/go/src ~/src ~)