From 62f0c6126c1719ce92ef1999dbfaf11fda8d779a Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Wed, 27 Jul 2016 17:13:34 -0700 Subject: [PATCH] Add zprofile to auto launch tmux sessions --- dotfiles/zprofile | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 dotfiles/zprofile diff --git a/dotfiles/zprofile b/dotfiles/zprofile new file mode 100644 index 0000000..01e319e --- /dev/null +++ b/dotfiles/zprofile @@ -0,0 +1,4 @@ +# Fire up a tmux session login +if command -v tmux>/dev/null; then + [[ ! $TERM =~ screen ]] && [ -z $TMUX ] && exec tmux +fi