X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/9a1960b5edade792e0d4d9a8c8e0630e774affc5..e45b0db3d66ca9e041622db3d801d026fb4d3724:/.zsh/zshenv/00_rdirs?ds=sidebyside diff --git a/.zsh/zshenv/00_rdirs b/.zsh/zshenv/00_rdirs index 062c011..03ad8c2 100644 --- a/.zsh/zshenv/00_rdirs +++ b/.zsh/zshenv/00_rdirs @@ -2,16 +2,21 @@ # # 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: http://git.madduck.net/v/etc/zsh.git # -export VAR_RELATIVE=.var -export VAR=$HOME/$VAR_RELATIVE -export ZVAR=$VAR/zsh -export BIN_RELATIVE=.bin -export BIN=$HOME/$BIN_RELATIVE +export VARDIR_REL=.var +export VARDIR=$HOME/$VARDIR_REL +export ZVARDIR=$VARDIR/zsh + +export BINDIR_REL=.bin +export BINDIR=$HOME/$BINDIR_REL + +export TMPDIR_REL=.tmp +export TMPDIR=$HOME/$TMPDIR_REL +mkdir --mode=0700 --parent "$(readlink -f $TMPDIR)" # vim:ft=zsh