Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

BugFix: Remove unnecessary "export" #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

susautw
Copy link

@susautw susautw commented Mar 28, 2021

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

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
FiestaLake pushed a commit to FiestaLake/ubuntu-wsl2-systemd-script that referenced this pull request Apr 28, 2021
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

DamionGans#52

Signed-off-by: Sung Mingi <FiestaLake@protonmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant