mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
Source .zshrc from user defined $ZDOTDIR (IDEA-162571)
This commit is contained in:
@@ -52,7 +52,9 @@ class PyVirtualEnvTerminalCustomizer : LocalTerminalCustomizer() {
|
||||
else {
|
||||
//for other shells we read envs from activate script by the default shell and pass them to the process
|
||||
val reader = PyVirtualEnvReader(path)
|
||||
reader.activate?.let { envs.putAll(reader.readShellEnv()) }
|
||||
reader.activate?.let {
|
||||
envs.putAll(reader.readShellEnv().filterKeys { k -> k in arrayOf("PATH", "PS1", "VIRTUAL_ENV", "PYTHONHOME") })
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user