diff options
-rw-r--r-- | .profile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -27,6 +27,14 @@ for dir in $HOME/.prefix/lib; do fi done +# TMPDIR ############################################################# + +if [[ ! -d "$HOME/tmp" ]]; then + tmp="$(mktemp --tmpdir -d "$USER-tmpdir.XXXXXXXXXXXXXXXXXXX")" + ln -sf "$tmp" "$HOME/tmp" +fi +export TMPDIR="$HOME/tmp" + # Settings ########################################################### # Text editor |