[ -d ~/sbin ] && PATH=~/sbin:"${PATH}"
# Setup MANPATH, if manpath(1) isn't available
-if [ ! "$(type manpath)" ]; then
+if [ ! "$(type manpath 2>/dev/null)" ]; then
[ -z "$MANPATH" ] \
&& MANPATH="/usr/local/share/man:/usr/share/man:/usr/man"
path=""
export UID USER
# get my own hostname
-ME=`hostname -s`
+ME=`hostname 2>/dev/null`
export ME
# Move Xauthority file to local storage, so that sudo et all work