-### -*-sh-*-
+### -*-bash-*-
###
### Bash startup things
HOME=`(set -P; cd $HOME; pwd)`
cd $HOME
-## Establish a temporary directory.
-[ "$TMPDIR" ] || eval `tmpdir -b`
-export TMP=$TMPDIR
-
## CDE's session structure is demented and doesn't leave us with a proper
## logout hook, so synthesize one here.
[ -n "$DT" ] && trap "source $HOME/.bash_logout" EXIT
###--------------------------------------------------------------------------
### Various other kinds of configuration.
+## Establish a temporary directory.
+[ "$TMPDIR" ] || eval `tmpdir -b`
+export TMP=$TMPDIR
+
## Sensible umask if users have their own groups.
umask 002
## Pager configuration.
export MDW_PAGER=`type -p less` PAGER=mdw-pager METAMAIL_PAGER=mdw-pager
-export LESS="-iqgRh1FX"
+export LESS="-iqgRh1FSX"
export LESSOPEN="|lesspipe.sh %s"
case "${LC_CTYPE-$LANG}" in
*utf8 | *utf-8 | *UTF8 | *UTF-8) LESSCHARSET=utf-8 ;;