mirror of
https://gitlab.com/rensa-nix/direnv.git
synced 2025-12-12 10:00:11 +01:00
feat: add config variables and PRJ compat
BREAKING CHANGE: rename use_envreload to use_ren/use_rensa
This commit is contained in:
parent
0734a6b27a
commit
664c907ace
2 changed files with 130 additions and 35 deletions
24
README.md
24
README.md
|
|
@ -2,17 +2,23 @@
|
|||
|
||||
## Usage
|
||||
|
||||
```console
|
||||
direnv fetchurl https://gitlab.com/rensa-nix/direnv/-/raw/main/direnvrc
|
||||
```
|
||||
1. Use latest release/tag: [](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
|
||||
```
|
||||
|
||||
`.envrc`:
|
||||
## Configuration
|
||||
|
||||
```bash
|
||||
source $(fetchurl https://gitlab.com/rensa-nix/direnv/-/raw/main/direnvrc <hash>)
|
||||
|
||||
use envreload //repo/shells/default
|
||||
```
|
||||
See [direnvrc](./direnvrc) at the top.
|
||||
|
||||
## Formatting & Linting
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue