Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Autologout?



Use the TMOUT parameter to set your idle time, and use the trap
builtin to catch the SIGALRM that's generated when the idle time is
exceeded.

'man zshparam' and 'man zshbuiltins' for details.

Hope this helps.

- Larry

On Thu, Jun 17, 1999 at 10:52:17PM +0200, Jonas Bofjall wrote:
> Can zsh automatically log me out when I've been sitting idle too long at the
> shell prompt (which is what I do most of the times I forget terminals logged
> in)? Searched the FAQ and manpage but found nothing.



Messages sorted by: Reverse Date, Date, Thread, Author