1
0
Fork 0

[Fix #437] Always set $TMPDIR

pull/435/merge
Sorin Ionescu 12 years ago
parent 1622abb830
commit c9c3b40b5c

@ -64,10 +64,13 @@ fi
# Temporary Files # Temporary Files
# #
if [[ -d "$TMPDIR" ]]; then if [[ ! -d "$TMPDIR" ]]; then
export TMPPREFIX="${TMPDIR%/}/zsh" export TMPDIR="/tmp/$USER"
if [[ ! -d "$TMPPREFIX" ]]; then mkdir -p -m 700 "$TMPDIR"
mkdir -p "$TMPPREFIX" fi
fi
TMPPREFIX="${TMPDIR%/}/zsh"
if [[ ! -d "$TMPPREFIX" ]]; then
mkdir -p "$TMPPREFIX"
fi fi

Loading…
Cancel
Save