summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-12-23 11:45:15 -0500
committerBen Sima <ben@bensima.com>2025-12-23 11:45:15 -0500
commit30fb38f179afbd2302000e0f5abb3afed7525750 (patch)
tree1794c90bf2e6759e405fef27a7299b97ad2add39
parent5ec4eb5592d0ca6fdebdb9db7014900879c0a63a (diff)
Ensure globstar is set for better globbing
-rw-r--r--.envrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/.envrc b/.envrc
index 2956339..1e33378 100644
--- a/.envrc
+++ b/.envrc
@@ -18,7 +18,9 @@
export AREA="Test"
export TMPDIR="$CODEROOT/_/tmp"
#
-# ignore cabdir and hidden files when globbing
+# ignore cabdir and hidden files when globbing (prevents ARG_MAX errors)
+# NOTE: requires globstar usually in ~/.bashrc, but here too just in case
+ shopt -s globstar
export GLOBIGNORE="**_/**:.*:**node_modules/**:$GLOBIGNORE"
#
# scripts for editing go here