X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/dfe2be341396ef31ef707f3f1b96f2bb23b1452a..92ae9f6d6b2239c570e16b97e58f60dcdeab65c4:/.zsh/zshenv/00_rdirs?ds=sidebyside diff --git a/.zsh/zshenv/00_rdirs b/.zsh/zshenv/00_rdirs index 1e49e67..984da85 100644 --- a/.zsh/zshenv/00_rdirs +++ b/.zsh/zshenv/00_rdirs @@ -17,6 +17,6 @@ export BINDIR=$HOME/$BINDIR_REL export TMPDIR_REL=.tmp export TMPDIR=$HOME/$TMPDIR_REL -[ -e "$TMPDIR" ] || mkdir --parent "$TMPDIR" +[ -d "$TMPDIR" ] || [ -L "$TMPDIR" ] || mkdir --parent "$TMPDIR" # vim:ft=zsh