summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2024-12-04 19:06:50 -0500
committerBen Sima <ben@bsima.me>2024-12-21 10:08:06 -0500
commit17ff0b65feedd890391e67319e2a6f127dc93f33 (patch)
tree996b697c3d84e4b19d5d8d2cc04b0c7c1e797d9b
parent81cf94523f5a794e5b0c69dbd9a94619135a23c7 (diff)
Ignore cabdir while globbing
The cabdir was getting really large and doing a `bild **/*` was actually taking a long time to just startup. Turns out you can configure bash to ignore certain patterns for all globs. How convenient!
-rw-r--r--.envrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.envrc b/.envrc
index f342995..abee960 100644
--- a/.envrc
+++ b/.envrc
@@ -16,6 +16,9 @@
export CODEROOT=$PWD
export COLUMNS
#
+# ignore cabdir and hidden files when globbing
+ export GLOBIGNORE="_:**_/**:.*:$GLOBIGNORE"
+#
# scripts for editing go here
PATH_add $CODEROOT/Omni/Ide
#