[completely optional] direnv+mise autosetup (#87)

Makes life a lot easier in my experience.
This commit is contained in:
Pierre Carrier
2024-10-30 02:43:10 +01:00
committed by GitHub
parent 900b511422
commit 2b22d49c22
3 changed files with 11 additions and 1 deletions

5
.envrc Normal file
View File

@@ -0,0 +1,5 @@
watch_file .mise.toml
[[ -e ~/.local/bin/mise ]] || (curl -sf https://mise.run | MISE_QUIET=1 sh)
~/.local/bin/mise trust 2> /dev/null
~/.local/bin/mise install -qy
direnv_load ~/.local/bin/mise direnv exec