From 3853667122db4c28d59bcdd6776ca50969608836 Mon Sep 17 00:00:00 2001 From: Marrub Date: Wed, 15 May 2019 01:12:24 -0400 Subject: [PATCH] zshrc: exec tmux on interactive session --- zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zshrc b/zshrc index a6a12cb..0fcd87d 100644 --- a/zshrc +++ b/zshrc @@ -1,3 +1,6 @@ +[[ -o interactive && ! -o login && -z $TMUX ]] && + exec tmux new-session + HISTFILE=~/.zsh/hist HISTSIZE=100000 SAVEHIST=10000