Closed jan-bar closed 1 month ago
Is it possible to achieve this function by changing the code in the picture above?
This change is a bit complicated, we just need to determine if sdkCurrentPaths
is empty, as currently only PATH
is being set repeatedly.
This change is a bit complicated, we just need to determine if
sdkCurrentPaths
is empty, as currently onlyPATH
is being set repeatedly.
This is simpler. If there are no problems with this requirement and change, I look forward to the boss completing this change.
1. Your usage scenarios?
When there is no need to set environment variables and you don’t want the terminal to set environment variables every time you execute a command
2. What is your expected outcome?
Is it possible to achieve this function by changing the code in the picture above? I’m not sure if there will be bugs after the modification.