mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 19:27:44 +02:00
Keep the environment properly set. (#3072)
* Revert "fix prompts on startup (#3056)"
This reverts commit b202951c1d
.
* Ensure environment variables synced with global internal Nu Scope.
This commit is contained in:
committed by
GitHub
parent
892aae267d
commit
08e7d0dfb6
@ -127,6 +127,10 @@ impl NuConfig {
|
||||
return Some(env_vars.clone());
|
||||
}
|
||||
|
||||
if let Some(env_vars) = vars.get("PATH") {
|
||||
return Some(env_vars.clone());
|
||||
}
|
||||
|
||||
None
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user