Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

Commit

Permalink
Don't change TMPDIR value
Browse files Browse the repository at this point in the history
In case TMPDIR is not specified, mktemp will use /tmp by default.
  • Loading branch information
doppioandante committed Jan 5, 2017
1 parent 6a98859 commit 3392332
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions runcoms/zprofile
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,4 @@ fi
# Temporary Files
#

if [[ ! -d "$TMPDIR" ]]; then
export TMPDIR="$(mktemp -d)"
fi

TMPPREFIX="${TMPDIR%/}/zsh"
TMPPREFIX="$(mktemp -d)/zsh"

0 comments on commit 3392332

Please sign in to comment.