Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ramen
on Feb 19, 2011
|
parent
|
context
|
favorite
| on:
Don't waste your time by cd-ing in the terminal
What's the bash equivalent to zsh's "setopt autopushd"?
FaceKicker
on Feb 19, 2011
|
next
[–]
I don't know what that is, but does it do more than alias cd='pushd'?
ramen
on Feb 19, 2011
|
parent
|
next
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: