dundalek / closh

Bash-like shell based on Clojure
Eclipse Public License 1.0
1.61k stars 65 forks source link

Support `cd - to` go to previous directory #166

Closed dundalek closed 4 years ago

dundalek commented 4 years ago

Currently cd sets $PWD. Make it that it also sets $OLDPWD and when doing cd - change to $OLDPWD.