Hacker News new | ask | show | jobs
by JNRowe 1951 days ago
Not for you, but perhaps for others who also like that behaviour.

With zsh you can enable the auto_pushd option, which makes cd manipulate the directory stack itself. You could probably simply alias cd as pushd too under zsh too, but in bash that would break cd's argument handling.