From dfe2be341396ef31ef707f3f1b96f2bb23b1452a Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sat, 19 Dec 2009 23:17:09 +0100 Subject: [PATCH] only mkdir TMPDIR if nonexistent --- .zsh/zshenv/00_rdirs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zsh/zshenv/00_rdirs b/.zsh/zshenv/00_rdirs index 61835f6..1e49e67 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 -mkdir --parent "$TMPDIR" +[ -e "$TMPDIR" ] || mkdir --parent "$TMPDIR" # vim:ft=zsh -- 2.39.5