I’ve configured an environment variable in
~/.bashrc as well as
When I run my application via IDEA’s Gradle Configuration, my environment variable is apparently not available. E.g. I am referencing this variable within
application.yml, but the default value is being used instead. Running Gradle from the command line correctly picks up my variable.
How can I configure IDEA to load this environment variable in a global way, so I don’t have to manually add it to every project where I need it (~20 projects)?
Note: running on Manjaro Linux v18.