X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/74c8f2791ab03f0a5a023159d9e85758ec9c6f5f..e45b0db3d66ca9e041622db3d801d026fb4d3724:/.zsh/zshenv/00_rdirs?ds=sidebyside diff --git a/.zsh/zshenv/00_rdirs b/.zsh/zshenv/00_rdirs index 984da85..03ad8c2 100644 --- a/.zsh/zshenv/00_rdirs +++ b/.zsh/zshenv/00_rdirs @@ -2,10 +2,10 @@ # # Assigns paths to related directories to a number of variables # -# Copyright © 1994–2008 martin f. krafft +# Copyright © 1994–2017 martin f. krafft # Released under the terms of the Artistic Licence 2.0 # -# Source repository: git://git.madduck.net/etc/zsh.git +# Source repository: http://git.madduck.net/v/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 -[ -d "$TMPDIR" ] || [ -L "$TMPDIR" ] || mkdir --parent "$TMPDIR" +mkdir --mode=0700 --parent "$(readlink -f $TMPDIR)" # vim:ft=zsh