Browse Source

Respect $TMPDIR in $TMPREFIX

master
Sorin Ionescu 12 years ago
parent
commit
68bbf22992
  1. 9
      runcoms/zshenv

9
runcoms/zshenv

@ -90,3 +90,12 @@ if (( $+commands[lesspipe.sh] )); then @@ -90,3 +90,12 @@ if (( $+commands[lesspipe.sh] )); then
export LESSOPEN='| /usr/bin/env lesspipe.sh %s 2>&-'
fi
#
# Temporary Files
#
export TMPPREFIX="${TMPDIR%/}/zsh"
if [[ ! -d "$TMPPREFIX" ]]; then
mkdir -v "$TMPPREFIX"
fi

Loading…
Cancel
Save