ubuntu-wsl2-systemd-script icon indicating copy to clipboard operation
ubuntu-wsl2-systemd-script copied to clipboard

BugFix: Remove unnecessary "export"

Open susautw opened this issue 4 years ago • 0 comments

exports PRE_NAMESPACE_PWD and PRE_NAMESPACE_PATH variables to environment variables cause the PWD/PATH will set to PRE_NAMESPACE_PWD/PRE_NAMESPACE_PATH every time while you start a bash. (the unset does not work cause it can only unset local variables)

solution: removes "export" words at the start of the definition of PRE_NAMESPACE_PWD and PRE_NAMESPACE_PATH

susautw avatar Mar 28 '21 16:03 susautw