## 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.
## 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