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
Currently we need to install direnv outside of devbox.json for direnv to work. However, that seems antithetical to the entire purpose of devbox, as it means team members need to individually install direnv for it to work.
What solution would you like?
Add the means for devbox generate direnv to install direnv in devbox.json and then use that binary for all subsequent work.
Alternatives you've considered
Adding "eval \"$(direnv hook bash)\"" to init_hook in devbox.json is a workaround, but it means the shell is reloaded, causing hooks to run twice. For example:
What problem are you trying to solve?
Currently we need to install
direnv
outside ofdevbox.json
fordirenv
to work. However, that seems antithetical to the entire purpose of devbox, as it means team members need to individually installdirenv
for it to work.What solution would you like?
Add the means for
devbox generate direnv
to installdirenv
indevbox.json
and then use that binary for all subsequent work.Alternatives you've considered
Adding
"eval \"$(direnv hook bash)\""
toinit_hook
indevbox.json
is a workaround, but it means the shell is reloaded, causing hooks to run twice. For example:The text was updated successfully, but these errors were encountered: