2 ms·
zsh can be configured so the cd command automatically becomes a pushd. This is such a huge improvement to me I stuck with it. (Fish has a similar feature, excep
by krylon 10y ago
zsh can be configured so the cd command automatically becomes a pushd. This is such a huge improvement to me I stuck with it. (Fish has a similar feature, except it supports pushd/popd additionally.) (Maybe bash supports this, too, I have not used it much in the last couple of years.)
Interestingly, even cmd.exe on Windows (at least on Windows 7 and newer) supports pushd/popd.
- unsignedqword 10y agopushd/popd have been on it since Windows 2000
- kerny 10y agoThe same can be done easily in bash with an alias: alias cd=pushd