Revert "Don't start screen when running in mosh"

This reverts commit b2f83b4c0f.
This commit is contained in:
2016-04-30 09:38:24 +02:00
parent 4f28dc738a
commit 1868e34696

View File

@@ -283,9 +283,7 @@ case $- in
bind 'TAB:menu-complete'
# only with interactive non-sudo shell
if [ -n "$SSH_CONNECTION" ] && [ -z "$SUDO_UID" ]; then
[ "$(parent)" = "screen" ] ||
[ "$(parent)" = "mosh-server" ] ||
screen -RR
[ "$(parent)" = "screen" ] || screen -RR
fi
;;
esac