Y
Hacker News
new
|
ask
|
show
|
jobs
by
anon4
4538 days ago
For a one-level undo there's always
cd -
Passing a single dash as a parameter to cd takes you back to $OLDPWD and each invocation of cd sets OLDPWD to the directory you were in.