]>
Commit | Line | Data |
---|---|---|
f4a5f003 | 1 | #XXX: ensure we override /etc/profile, gets loaded after .zshenv |
a568f7fa | 2 | source ~/.zshenv |
3 | ||
4 | t="/tmp/home-$LOGNAME" | |
5 | h="$HOME/tmp" | |
6 | if [[ ! -e "$t" ]] { | |
7 | mkdir -m 700 "$t" > /dev/null 2>&1 | |
8 | } | |
9 | #allow opaque entries to override | |
10 | if [[ ! -e "$h" ]] { | |
11 | ln -sf "$t" "$h" > /dev/null 2>&1 | |
12 | } | |
a8f1ccaf | 13 | unset t |
14 | unset h |