From: martin f. krafft Date: Sat, 19 Dec 2009 22:19:19 +0000 (+0100) Subject: -e apparently does not cover links, shell sucks X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/74c8f2791ab03f0a5a023159d9e85758ec9c6f5f -e apparently does not cover links, shell sucks --- 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