summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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