mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 13:58:00 +00:00
parent
14670f40f0
commit
5bcc223e95
@ -65,9 +65,14 @@ fi
|
|||||||
#
|
#
|
||||||
# Temporary Files
|
# Temporary Files
|
||||||
#
|
#
|
||||||
|
#
|
||||||
|
if [[ -z "$TMPDIR" ]]; then
|
||||||
|
export TMPDIR="/tmp/zsh-$UID"
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ ! -d "$TMPDIR" ]]; then
|
if [[ ! -d "$TMPDIR" ]]; then
|
||||||
export TMPDIR="$(mktemp -d)"
|
mkdir "$TMPDIR"
|
||||||
|
chmod 700 "$TMPDIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
TMPPREFIX="${TMPDIR%/}/zsh"
|
TMPPREFIX="${TMPDIR%/}/zsh"
|
||||||
|
Loading…
Reference in New Issue
Block a user