direnv/README.md

23 lines
347 B
Markdown
Raw Normal View History

2025-07-11 20:54:35 +02:00
# Rensa Direnv Integration
## Usage
```console
direnv fetchurl https://gitlab.com/rensa-nix/direnv/-/raw/main/direnvrc
```
`.envrc`:
2025-07-11 20:54:35 +02:00
```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
```