Make direnv less verbose

This commit is contained in:
urob 2024-08-14 21:14:20 -04:00
parent 7591943464
commit ce3bc5479b

View file

@ -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
```