1 #XXX: ensure we override /etc/profile, gets loaded after .zshenv
4 t="${TMPDIR:-/tmp}/home-$LOGNAME"
7 mkdir -m 700 "$t" > /dev/null 2>&1
8 #TODO: check if dir exists after mkdir
10 #allow opaque entries to override
12 ln -sf "$t" "$h" > /dev/null 2>&1