3 ms·
You can also say `cd -` on Bourne shells to go back to the previously visited directory. If you move from A to B in this manner and then run it again, then you
by koenigdavidmj 16y ago
You can also say `cd -` on Bourne shells to go back to the previously visited directory. If you move from A to B in this manner and then run it again, then you will go back to A.
Also, `alias cd=pushd` to get that same zsh functionality in other Bourne shells.