Environment Variables from ZSH not used by IntelliJ
已回答
Hello,
I use zshell on my Linux machine and have some env variables set in .zshenv
It seems that IntelliJ Idea doesn't see those. e.g. the DOCKER_HOST
Do i have to move them somewhere else or can I tell Idea to use all env variables that zsh uses alike ?
请先登录再写评论。
Please see these related issues:
https://youtrack.jetbrains.com/issue/IDEA-257443/.zshrc-.zshenv-not-sourced-in-when-Webstorm-is-started
https://youtrack.jetbrains.com/issue/TBX-5329/Open-app-with-shell-file-to-respect-environment-settings.
See also https://stackoverflow.com/questions/42725538/set-environment-variables-for-non-interactive-shell for the way to set environment variables that will work everywhere no matter how the app was launched.