X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/74c8f2791ab03f0a5a023159d9e85758ec9c6f5f..4336d34048e4e777bcb988ba19bb9b4d3b90eec4:/.zsh/zshenv/00_rdirs?ds=sidebyside diff --git a/.zsh/zshenv/00_rdirs b/.zsh/zshenv/00_rdirs index 984da85..2822fe7 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 -[ -d "$TMPDIR" ] || [ -L "$TMPDIR" ] || mkdir --parent "$TMPDIR" +mkdir --mode=0700 --parent "$(readlink -f $TMPDIR)" # vim:ft=zsh