X-Git-Url: http://cgit.sxemacs.org/?p=pkgusr;a=blobdiff_plain;f=etc%2Fpkgusr%2Fbash_profile;h=bc756dd1b776431b60a5525f9f32cd41abbdccd6;hp=52d885efebab1dc03c9fde3e79483af85f5614bf;hb=15d2fb8ea4867df5297f00ec6d1c96198b0ad0a8;hpb=a9baeb490600c1e0a64cfc1e193cc6c145327c21 diff --git a/etc/pkgusr/bash_profile b/etc/pkgusr/bash_profile index 52d885e..bc756dd 100644 --- a/etc/pkgusr/bash_profile +++ b/etc/pkgusr/bash_profile @@ -13,7 +13,7 @@ LC_ALL=POSIX 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' @@ -72,8 +72,10 @@ fi # 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