auto-lock1 Terminal auto-lock with zsh and vlock I’m always concerned about leaving terminal sessions open. I’ve used for many and many years the $TMOUT environment variable to close my sessions if idle for N seconds. Just by exporting the TMOUT variable to the number of desired timeout seconds will close your shell (Bash, Ksh, Zsh and some others). The following example will timeout in 300 seconds (5 minutes) 1export TMOUT=300 I am currently .. 2014. 12. 19. 이전 1 다음