Skip to content

Commit 64b4d87

Browse files
authored
[docs] Updated wording on direnv integration (#1748)
## Summary TSIA ## How was it tested? N/A
1 parent 06fd5ff commit 64b4d87

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/app/docs/ide_configuration/direnv.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ direnv: loading ~/src/devbox/docs/.envrc
3232
direnv: using devbox
3333
```
3434

35-
This will generate a `.envrc` file in your project directory that contains `devbox.json`. Run `direnv allow` to activate your shell upon directory navigation. Run `direnv revoke` to stop. Changes to `devbox.json` automatically trigger direnv to reset the environment.
35+
This will generate a `.envrc` file in your project directory that contains `devbox.json`. Run `direnv allow` to activate your shell upon directory navigation. Run `direnv revoke` to stop. Changes to `devbox.json` automatically trigger direnv to reset the environment. The generated `.envrc` file doesn't need any further configuration. Just having the generated file along with installed direnv and Devbox, is enough to make direnv integration with Devbox work.
3636

3737

3838
#### Existing Project
@@ -47,6 +47,8 @@ direnv: loading ~/src/devbox/docs/.envrc
4747
direnv: using devbox
4848
```
4949

50+
The generated `.envrc` file doesn't need any further configuration. Just having the generated file along with installed direnv and Devbox, is enough to make direnv integration with Devbox work.
51+
5052
#### Adding Custom Env Variables or Env Files to your Direnv Config
5153

5254
In some cases, you may want to override certain environment variables in your Devbox config when running it locally. You can add custom environment variables from the command line or from a file using the `--env` and `--env-file` flags.

0 commit comments

Comments
 (0)