diff --git a/.zshrc b/.zshrc index 8f70e4a..f45428a 100644 --- a/.zshrc +++ b/.zshrc @@ -68,6 +68,13 @@ case `tty` in TMOUT=3600 esac +# and screen sessions shouldn't terminate at all ... +case "$TERM" in +screen) + unset TMOUT + ;; +esac + if [ -z "$EDITOR" ] then export EDITOR=vi