direnv/README.md

29 lines
699 B
Markdown
Raw Normal View History

2025-07-11 20:54:35 +02:00
# Rensu Direnv Integration
## Usage
1. Use latest release/tag: [![Latest Release](https://gitlab.com/rensa-nix/direnv/-/badges/release.svg)](https://gitlab.com/rensa-nix/direnv/-/releases)
1. Get hash for release:
```bash
direnv fetchurl https://gitlab.com/rensa-nix/direnv/-/raw/<version>/direnvrc
```
1. Add this to your `.envrc`:
```bash
# configure rensa here if needed, like:
# REN_DO_WATCH=false
# etc.
source $(fetchurl https://gitlab.com/rensa-nix/direnv/-/raw/<version>/direnvrc <hash>)
use ren //repo/shells/default
```
## Configuration
2025-07-11 20:54:35 +02:00
See [direnvrc](./direnvrc) at the top.
2025-07-11 20:54:35 +02:00
## Formatting & Linting
```sh
shfmt -w -i 2 direnvrc
shellcheck direnvrc
```