ubuntu-wsl2-systemd-script
ubuntu-wsl2-systemd-script copied to clipboard
BugFix: Remove unnecessary "export"
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