I changed the zsh-specific portion of /etc/kde3/kdm/Xsession as follows:
*/zsh) [ -z "$ZSH_NAME" ] && exec $SHELL $0 "$@" emulate -R zsh [ -d /etc/zsh ] && zdir=/etc/zsh || zdir=/etc zhome=${ZDOTDIR:-$HOME} # zshenv is always sourced automatically. [ -f $zdir/zprofile ] && . $zdir/zprofile [ -f $zhome/.zprofile ] && . $zhome/.zprofile [ -f $zdir/zlogin ] && . $zdir/zlogin [ -f $zhome/.zlogin ] && . $zhome/.zlogin emulate -R sh ;;
My change is on the last line. I'm simply asking it to come back to sh emulation after it's done reading the user's zsh wares. This seems to fix the problem for me.
I changed the zsh-specific portion of /etc/kde3/ kdm/Xsession as follows:
*/zsh) ${ZDOTDIR: -$HOME}
[ -z "$ZSH_NAME" ] && exec $SHELL $0 "$@"
emulate -R zsh
[ -d /etc/zsh ] && zdir=/etc/zsh || zdir=/etc
zhome=
# zshenv is always sourced automatically.
[ -f $zdir/zprofile ] && . $zdir/zprofile
[ -f $zhome/.zprofile ] && . $zhome/.zprofile
[ -f $zdir/zlogin ] && . $zdir/zlogin
[ -f $zhome/.zlogin ] && . $zhome/.zlogin
emulate -R sh
;;
My change is on the last line. I'm simply asking it to come back to sh emulation
after it's done reading the user's zsh wares. This seems to fix the problem for me.