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

Devbox shell ignores .zshenv #2035

Open
alex35mil opened this issue May 2, 2024 · 0 comments
Open

Devbox shell ignores .zshenv #2035

alex35mil opened this issue May 2, 2024 · 0 comments
Labels
bug Something isn't working triage Issue needs triage

Comments

@alex35mil
Copy link

alex35mil commented May 2, 2024

What happened?

In my .zshenv, I have this:

eval "$(devbox global shellenv --init-hook)"
source "$HOME/.cargo/env"

# also setting some env vars... 

When I open a general shell, everything is ok. But when I hop into devbox shell, it doesn't source .zshenv.

PS I use direnv to autoload devbox.

Steps to reproduce

  1. Create .zshenv and set some env var.
  2. Hop into devbox shell.
  3. Env var is not set.

Command

shell

devbox.json

No response

Devbox version

0.10.6

Nix version

2.18.1

What system does this bug occur on?

macOS (Apple Silicon)

Debug logs

No response

@alex35mil alex35mil added bug Something isn't working triage Issue needs triage labels May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Issue needs triage
Development

No branches or pull requests

1 participant