-
Notifications
You must be signed in to change notification settings - Fork 3
How to enable direnv?
Reza Khanipour edited this page Jul 26, 2024
·
1 revision
direnv is enabled by default in the projects initialized by Inception. However, the .envrc
file is by default ignored in .gitignore
. If you are working on a project, you can enable devenv integration by adding the following snippet to your project's .envrc
.
source_url "https://raw.githubusercontent.com/cachix/devenv/95f329d49a8a5289d31e0982652f7058a189bfca/direnvrc" "sha256-d+8cBpDfDBj41inrADaJt+bDWhOktwslgoP5YiGJ1v0="
use devenv
- Ensure's
devenv
will use your default shell configuration instead of starting a bash session. - Deactivates the shell when you leave the directory.