#XXX: ensure we override /etc/profile, gets loaded after .zshenv source ~/.zshenv t="/tmp/home-$LOGNAME" h="$HOME/tmp" if [[ ! -e "$t" ]] { mkdir -m 700 "$t" > /dev/null 2>&1 } #allow opaque entries to override if [[ ! -e "$h" ]] { ln -sf "$t" "$h" > /dev/null 2>&1 } unset t unset h