in hindsight .zprofile should probably be put in a cronjob to avoid
affecting things run as the dotfile user before they log in, but doing
that may go outside the scope of install.sh
case "`uname`" in *BSD*)
- mkdir -m 700 "/tmp/home-$LOGNAME"
- unlink "$HOME/tmp"
+ mkdir -m 700 "/tmp/home-$LOGNAME" > /dev/null 2>&1
+ unlink "$HOME/tmp" > /dev/null 2>&1
ln -sFh "/tmp/home-$LOGNAME" "$HOME/tmp";;
esac
# create preferred folder structure
cd ~
mkdir -p bin etc share var/run var/log urxvt/ext > /dev/null 2>&1
-mkdir -m 700 var/tmp var/tmp/vim
-[ -n "$bsd" ] && mkdir -m 700 tmp
+mkdir -m 700 var/tmp var/tmp/vim > /dev/null 2>&1
+[ -n "$bsd" ] && mkdir -m 700 tmp > /dev/null 2>&1
cd -
# link files