Skip to content

Commit da3c2d6

Browse files
srounceSchaechtle
authored andcommitted
fix: Direnv watch_file uses Bash-native globbing
Change .envrc to use Bash file globbing rather than the find sub-shell invocation.
1 parent e91ea35 commit da3c2d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.envrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
use flake
22

3-
watch_file $(find . -name '*.nix')
3+
shopt -s globstar
4+
5+
watch_file **/*.nix
46
watch_file flake.lock

0 commit comments

Comments
 (0)