dot/emacs: Turn on `mdw-misc-mode-config' for some new modes.
[profile] / dot / bash_profile
index 1621d13..27ed389 100644 (file)
@@ -1,4 +1,4 @@
-### -*-sh-*-
+### -*-bash-*-
 ###
 ### Bash startup things
 
@@ -59,10 +59,6 @@ __mdw_programp () { type -t >/dev/null "$1"; }
 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
@@ -98,6 +94,10 @@ __mdw_addto PYTHONPATH r $HOME/lib/python
 ###--------------------------------------------------------------------------
 ### 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