Run anything and the makefile plugin does not use the good shell interpreter
Hi,
I'm generally using the zsh interpreter. I have configured my terminal in IntelliJ to use zsh and I have no issue with it.
I am using the Makefile Language plugin. And I have a simple target :
path:
echo $(PATH)
When i launch this target with the terminal in IntelliJ, I have this result :
/usr/local/go/bin:/home/jerem/go/bin:/home/jerem/.volta/bin:/home/jerem/.nvm/versions/node/v16.1.0/bin:/home/jerem/.zinit/polaris/bin:/home/jerem/.sdkman/candidates/maven/current/bin:/home/jerem/.sdkman/candidates/java/current/bin:/home/jerem/.sdkman/candidates/gradle/current/bin:/home/jerem/.volta/bin:/home/jerem/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/jerem/.local/share/JetBrains/Toolbox/scripts:/home/jerem/work/Slickteam/projets/Sinad/sinad-core/node_modules/.bin:/usr/local/go/bin:/home/jerem/go/bin:/home/jerem/.local/bin:/home/jerem/.krew/bin
But when i launch the path target from "Run Anything" or from the file directly, I have this result : echo /home/jerem/.volta/bin:/home/jerem/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/jerem/.local/share/JetBrains/Toolbox/scripts
/home/jerem/.volta/bin:/home/jerem/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/jerem/.local/share/JetBrains/Toolbox/scripts
We can notice that the $PATH variables are different. In particular, my issue is that it miss the path to /usr/local/go/bin
The edit configuration page looks like that :

Do you have any ideas to use the zsh interpreter with the correct $PATH variable in any of these cases ?
Thanks
请先登录再写评论。
Could you please provide me with the result of running the file with the Run configuration where the Environment variables are not specified?
