Add OLDPWD Variable
This will add the OLDPWD variable which is currently missing. It will also only update the PWD and OLDPWD variables when the program detects that the current working directory has changed.
This will add the OLDPWD variable which is currently missing. It will also only update the PWD and OLDPWD variables when the program detects that the current working directory has changed.