X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/9a1960b5edade792e0d4d9a8c8e0630e774affc5..92ae9f6d6b2239c570e16b97e58f60dcdeab65c4:/.zsh/zshenv/00_rdirs?ds=inline diff --git a/.zsh/zshenv/00_rdirs b/.zsh/zshenv/00_rdirs index 062c011..984da85 100644 --- a/.zsh/zshenv/00_rdirs +++ b/.zsh/zshenv/00_rdirs @@ -5,13 +5,18 @@ # Copyright © 1994–2008 martin f. krafft # Released under the terms of the Artistic Licence 2.0 # -# Source repository: http://git.madduck.net/v/etc/zsh.git +# Source repository: git://git.madduck.net/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 +[ -d "$TMPDIR" ] || [ -L "$TMPDIR" ] || mkdir --parent "$TMPDIR" # vim:ft=zsh