feat: use nested gitignore to automatically make git ignore state dir

This commit is contained in:
technofab 2025-07-11 21:02:19 +02:00
parent bada848ca1
commit 0734a6b27a
No known key found for this signature in database
2 changed files with 10 additions and 0 deletions

View file

@ -7,9 +7,16 @@ direnv fetchurl https://gitlab.com/rensa-nix/direnv/-/raw/main/direnvrc
```
`.envrc`:
```bash
source $(fetchurl https://gitlab.com/rensa-nix/direnv/-/raw/main/direnvrc <hash>)
use envreload //repo/shells/default
```
## Formatting & Linting
```sh
shfmt -w -i 2 direnvrc
shellcheck direnvrc
```