X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/33230b65afa1076218abff057d0bbcc7486af0a8..2188fcdf52262cc8ed492d9ad439e6ca91f5e9ca:/.zsh/zshenv/00-tmpdir diff --git a/.zsh/zshenv/00-tmpdir b/.zsh/zshenv/00-tmpdir index be817b5..1184b07 100644 --- a/.zsh/zshenv/00-tmpdir +++ b/.zsh/zshenv/00-tmpdir @@ -7,16 +7,18 @@ # Source repository: http://git.madduck.net/v/etc/zsh.git # -export TMPDIR="/tmp/${(%):-%n}" +TMPDIR="/tmp/${(%):-%n}" mkdir --mode=700 --parent "${TMPDIR}" typeset -l LTMPDIR="${HOME}/.tmp" if [ -d $LTMPDIR ]; then typeset -l VOLATILE="${LTMPDIR}/volatile" [ -L "$VOLATILE" ] || ln -snfT "$TMPDIR" "$VOLATILE" - nTMPDIR=$LTMPDIR + TMPDIR=$LTMPDIR fi TMPPREFIX="${TMPDIR}/zsh" +export TMPDIR + # vim:ft=zsh