Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

With Bash I use "pushd .", "dirs" and "pushd +1"/"pushd -1".

I guess that's not quite as advanced as z or fasd though!



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: