Kill inactive shells after 5m

Unless we are in tmux
master
Jacopo De Simoi 2 years ago
parent a74b609f01
commit 1db255bf5b
  1. 8
      zshrc.org

@ -96,7 +96,15 @@ The other two swap between build and src dirs on my local git checkout
#+begin_src sh #+begin_src sh
source ~/scripts/kde-utils.sh source ~/scripts/kde-utils.sh
#+end_src #+end_src
*** Do not litter :daily:
#+begin_src sh
if [ "$TERM_PROGRAM" = tmux ]; then
# suppress tmout in tmux
else
TMOUT=300
fi
#+end_src
*** Android helpers :daily: *** Android helpers :daily:
These are various helpers to drive my current Android phone when connected to the box. These are various helpers to drive my current Android phone when connected to the box.

Loading…
Cancel
Save