Closed dundalek closed 4 years ago
Currently cd sets $PWD. Make it that it also sets $OLDPWD and when doing cd - change to $OLDPWD.
cd
$PWD
$OLDPWD
cd -
Currently
cd
sets$PWD
. Make it that it also sets$OLDPWD
and when doingcd -
change to$OLDPWD
.