mirror of
https://gitlab.com/rensa-nix/direnv.git
synced 2025-12-12 01:50:04 +01:00
feat: use nested gitignore to automatically make git ignore state dir
This commit is contained in:
parent
bada848ca1
commit
0734a6b27a
2 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue