4 ms·
With Bash I use "pushd .", "dirs" and "pushd +1"/"pushd -1". I guess that's not quite as advanced as z or fasd though!
by jnurmine 6y ago
With Bash I use "pushd .", "dirs" and "pushd +1"/"pushd -1".
I guess that's not quite as advanced as z or fasd though!
- JNRowe 6y agoNot 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.