mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 23:08:00 +00:00
Respect $TMPDIR in $TMPREFIX
This commit is contained in:
parent
75bca681c1
commit
68bbf22992
@ -90,3 +90,12 @@ if (( $+commands[lesspipe.sh] )); then
|
|||||||
export LESSOPEN='| /usr/bin/env lesspipe.sh %s 2>&-'
|
export LESSOPEN='| /usr/bin/env lesspipe.sh %s 2>&-'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#
|
||||||
|
# Temporary Files
|
||||||
|
#
|
||||||
|
|
||||||
|
export TMPPREFIX="${TMPDIR%/}/zsh"
|
||||||
|
if [[ ! -d "$TMPPREFIX" ]]; then
|
||||||
|
mkdir -v "$TMPPREFIX"
|
||||||
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user