1
0
Fork 0

Set $TMPPREFIX only when $TMPDIR is set

pull/265/head
Sorin Ionescu 12 years ago
parent 227043938f
commit e8226dfaf3

@ -94,8 +94,10 @@ unset path_file
# Temporary Files # Temporary Files
# #
if [[ -d "$TMPDIR" ]]; then
export TMPPREFIX="${TMPDIR%/}/zsh" export TMPPREFIX="${TMPDIR%/}/zsh"
if [[ ! -d "$TMPPREFIX" ]]; then if [[ ! -d "$TMPPREFIX" ]]; then
mkdir -p "$TMPPREFIX" mkdir -p "$TMPPREFIX"
fi fi
fi

Loading…
Cancel
Save