no idle timeout for screen sessions

This commit is contained in:
hjp 2009-09-24 13:29:33 +00:00
parent feead45ac4
commit d5dd460ea3
1 changed files with 7 additions and 0 deletions

7
.zshrc
View File

@ -68,6 +68,13 @@ case `tty` in
TMOUT=3600 TMOUT=3600
esac esac
# and screen sessions shouldn't terminate at all ...
case "$TERM" in
screen)
unset TMOUT
;;
esac
if [ -z "$EDITOR" ] if [ -z "$EDITOR" ]
then then
export EDITOR=vi export EDITOR=vi