X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/e2bc02183b57603acd10804a0f49e081a717be8c..0612a9149d46df422e11410d8ada66b78d3fe5d3:/dot/bash_profile diff --git a/dot/bash_profile b/dot/bash_profile index ac47371..4ce6280 100644 --- a/dot/bash_profile +++ b/dot/bash_profile @@ -56,7 +56,7 @@ __mdw_programp () { type -t >/dev/null "$1"; } ## changes directory and displays the name of the directory in a subshell to ## avoid changing the current state. HOME=`(set -P; cd $HOME; pwd)` -cd $HOME +[ -n "$SCHROOT_SESSION_ID" ] || cd $HOME ## CDE's session structure is demented and doesn't leave us with a proper ## logout hook, so synthesize one here. @@ -113,6 +113,8 @@ export QMAILINJECT=c export MDW_EDITOR=ed emacs_startup_args="--no-site-file --mdw-fast-startup -nw" for ed in \ + "emacs23 $emacs_startup_args" \ + "emacs24 $emacs_startup_args" \ "emacs22 $emacs_startup_args" \ "emacs21 $emacs_startup_args" \ zile mg \