PATH=/usr/lib/pkgusr:/usr/bin:/bin:/usr/X11R6/bin:/opt/qt/bin
## A couple things to make less(1) nicer.
-LESS=-MRgisw
+LESS='-MRgiswFX'
LESSCHARSET=utf-8
LESSOPEN='|lesspipe.sh %s'
# Go to the home directory whenever we su to a package user.
cd
-# Maybe check if the build script can be updated.
-if [ ${CHECKUPDATES} -eq 1 ]; then
+
+# Maybe check if the build script can be updated, but not on dumb
+# terms so that TRAMP still works.
+if [ ${CHECKUPDATES} -eq 1 -a "$TERM" != "dumb" ]; then
checkupdates
fi