aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zprofile2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zprofile b/.zprofile
index 45cdd5e..dd49b8f 100644
--- a/.zprofile
+++ b/.zprofile
@@ -38,7 +38,7 @@ fi
#
if [[ ! -d "$TMPDIR" ]]; then
- export TMPDIR="/tmp/$USER"
+ export TMPDIR="$XDG_RUNTIME_DIR"
mkdir -p -m 700 "$TMPDIR"
fi