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

In ZSH, you can

    setopt autopushd
to have cd work like pushd.

And

    setopt pushdignoredups
is probably helpful too as it will not push the same directory multiple times on the stack.


Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: