Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working running zsh? #15

Open
bonkowski opened this issue May 7, 2021 · 1 comment
Open

Not working running zsh? #15

bonkowski opened this issue May 7, 2021 · 1 comment

Comments

@bonkowski
Copy link

Hi!

I'm not able to get this to work on my Mac using zsh. The direnv works as expected on the command line, but the env variables are not available from IntelliJ. Any idea why?

@JiangHongTiao
Copy link

JiangHongTiao commented Jan 29, 2024

I experience the same. It says it was reloaded, but when I run my Spring Boot application, variables are not there. Could someone have a look on this please?
I'm also using a bit specific configuration, including different .env files and some env variables need to be computed (cat content of file):

#specify environment, by default it's 'dev'
export PROFILE=${PROFILE:-dev}

dotenv "infrastructure/environment/.env"
dotenv "infrastructure/environment/$PROFILE/.env"
source "infrastructure/environment/$PROFILE/.dynamic.env"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants