X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/6617659f5ad35623928c5d4c68f49bab6d3f3f42..13a077aedcfe3d28a364fd617852f0f795396fd9:/dot/bash_profile?ds=inline diff --git a/dot/bash_profile b/dot/bash_profile index d75c820..b6c09bf 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. @@ -185,7 +185,7 @@ __mdw_programp distcc && export CCACHE_PREFIX=distcc ## graphical one. browsers="elinks w3m lynx" case "${DISPLAY+t}" in - t) browsers="mdw-chrome iceweasel firefox $browsers" ;; + t) browsers="mdw-iceweasel mdw-chrome iceweasel firefox $browsers" ;; esac for i in $browsers; do if __mdw_programp $i; then