X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/4b7585a99310e2a7ab0fe0ecc2a9c8d211566c4a..74c8f2791ab03f0a5a023159d9e85758ec9c6f5f:/.zsh/zshenv/00_rdirs diff --git a/.zsh/zshenv/00_rdirs b/.zsh/zshenv/00_rdirs index aa8875c..984da85 100644 --- a/.zsh/zshenv/00_rdirs +++ b/.zsh/zshenv/00_rdirs @@ -5,7 +5,7 @@ # Copyright © 1994–2008 martin f. krafft # Released under the terms of the Artistic Licence 2.0 # -# Source repository: http://git.madduck.net/v/etc/zsh.git +# Source repository: git://git.madduck.net/etc/zsh.git # export VARDIR_REL=.var @@ -17,6 +17,6 @@ export BINDIR=$HOME/$BINDIR_REL export TMPDIR_REL=.tmp export TMPDIR=$HOME/$TMPDIR_REL -mkdir --parent "$TMPDIR" +[ -d "$TMPDIR" ] || [ -L "$TMPDIR" ] || mkdir --parent "$TMPDIR" # vim:ft=zsh