+12
.envrc
+12
.envrc
···
1
+
#!/usr/bin/env bash
2
+
# ^ added for shellcheck and file-type detection
3
+
4
+
# Watch & reload direnv on change
5
+
watch_file devshell.toml
6
+
7
+
if [[ $(type -t use_flake) != function ]]; then
8
+
echo "ERROR: use_flake function missing."
9
+
echo "Please update direnv to v2.30.0 or later."
10
+
exit 1
11
+
fi
12
+
use flake