diff options
author | K900 <me@0upti.me> | 2024-03-26 19:25:27 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2024-03-26 19:40:43 +0300 |
commit | 312cee142ac10b86b64c97e0a60f9887716991a8 (patch) | |
tree | b9f85a43c8ec147a1dec23366e3977cece2d3879 | |
parent | 531b8d0ab846966795524951dd260d403d8a0d04 (diff) |
envrc: improve
- add shellcheck hint
- load .envrc.local if one exists
- use a variable to allow choosing the shell variant
Change-Id: Iea34e5a800f5d463e5792020c5c293b8b3071ca5
-rw-r--r-- | .envrc | 4 | ||||
-rw-r--r-- | .gitignore | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -1 +1,3 @@ -use flake +# shellcheck shell=bash +source_env_if_exists .envrc.local +use flake ".#${LIX_SHELL_VARIANT:-default}" "${LIX_SHELL_EXTRA_ARGS[@]}" diff --git a/.gitignore b/.gitignore index 4b4fdbbf6..02c577c76 100644 --- a/.gitignore +++ b/.gitignore @@ -147,6 +147,7 @@ result-* .vscode/ .direnv/ +.envrc.local # clangd and possibly more .cache/ |