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
## Summary
I added a `--pure` flag for `devbox shell` to create an isolated env
without variables leaking from the parent shell.
Q: Should I add a --pure flag for `devbox run` and `devbox shellenv`?
A: Yes
Q2: Because the created shell is "pure" the devbox command is also not
available inside the pure shell. Should that be an exception?
A: Yes
Note: in pure mode, the `$HOME` env variable has to leak in because the
devbox binary relies on it.
## How was it tested?
- compile
- `export FOO=bar`
- `./devbox shell --pure`
- `echo $FOO` should show no value
- Also `./devbox run --pure -- echo $FOO` should show no value
0 commit comments