summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2025-04-28 23:27:28 -0400
committerBen Sima <ben@bsima.me>2025-04-28 23:27:28 -0400
commit5b1c894844ac2b120a68f73150395cccb491d6b8 (patch)
tree2f49f3dd77e1a47cf52ce765990680e213695bba
parent03d18a944f851c483792ee597dd1af9da42b8178 (diff)
Set TMPDIR
This is useful for doing `mktemp --tmpdir`, especially during testing, so all of the tmpdirs go into a nearby location that I can wipe when I'm done.
-rw-r--r--.envrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.envrc b/.envrc
index 3210334..e3c1907 100644
--- a/.envrc
+++ b/.envrc
@@ -16,6 +16,7 @@
export CODEROOT=$PWD
export COLUMNS
export AREA="Test"
+ export TMPDIR="$CODEROOT/_/tmp"
#
# ignore cabdir and hidden files when globbing
export GLOBIGNORE="**_/**:.*:$GLOBIGNORE"