Skip to content

Commit

Permalink
Make direnv less verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
urob committed Aug 15, 2024
1 parent 7591943 commit ce3bc54
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,12 @@ environment is _completely isolated_ and won't pollute your system.
echo 'eval "$(direnv hook bash)"' >> ~/.bashrc
# Enable nix-direnv (if installed in the previous step)
mkdir -p ~/.config/direnv
echo 'source $HOME/.nix-profile/share/nix-direnv/direnvrc' >> ~/.config/direnv/direnvrc
# Optional: make direnv less verbose
echo '[global]\nwarn_timeout = "2m"\nhide_env_diff = true' >> ~/.config/direnv/direnv.toml
# Source the bashrc to activate the hook (or start a new shell)
source ~/.bashrc
```
Expand Down

0 comments on commit ce3bc54

Please sign in to comment.