Closed hwanju closed 10 years ago
For dash, it's fine to return back to OLDPWD out of scope, but for bash, OLDPWD seems to be lost outside parenthesis.
Some other people reported that issue as well, in which the solution is either this patch of simply remove the "cd -". Thanks once again!
For dash, it's fine to return back to OLDPWD out of scope, but for bash, OLDPWD seems to be lost outside parenthesis.