Y
Hacker News
new
|
ask
|
show
|
jobs
by
jrockway
5599 days ago
Just one of the many reasons to use ZSH.
What shell doesn't have a directory stack?
2 comments
ramen
5599 days ago
What's the bash equivalent to zsh's "setopt autopushd"?
link
FaceKicker
5599 days ago
I don't know what that is, but does it do more than alias cd='pushd'?
link
ramen
5599 days ago
That's essentially what it does, but if you use the "autocd" option as well, you don't need to type "cd" - you can just use the name of a directory as a command. So, "autopushd" would ensure that these operations use the directory stack also.
link
cicero
5599 days ago
sh
link