You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using direnv to load the devbox environment, DEVBOX_SHELL_ENABLED is never set. The documentation is confusing on whether this is intended or not:
DEVBOX_SHELL_ENABLED Whether or not Devbox is enabled in the current shell. This is automatically set to 1 when you start a shell, run a script, or start services.
I guess it can be argued that direnv doesn't start a shell. However, the documentation explicitly says otherwise:
This behavior has been observed on MacOS w/ Apple Silicon as well as Linux x86_64 (NixOS).
Steps to reproduce
devbox generate direnv
cd myproject
echo $DEVBOX_SHELL_ENABLED prints nothing, expected 1.