devbox
devbox copied to clipboard
Devbox shell ignores `.zshenv`
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
- Create
.zshenvand set some env var. - Hop into devbox shell.
- 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