From 4d74b57d5bbbb54f049d3386fdb9ce9febed1e2c Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Sun, 4 Sep 2011 16:55:33 +0300 Subject: [PATCH] Added line to continue tmux session whenever I login. --- bashrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bashrc b/bashrc index 9bf5f8a5..d82b601f 100644 --- a/bashrc +++ b/bashrc @@ -118,3 +118,9 @@ source ~/.bash_private_aliases # To see time when bash starts :) date + +# To continue tmux session whenever I SSH (or open tmux) in (required with PuTTY on Symbian S60 Series 3 by me). +if [[ -z "$TMUX" ]]; then + tmux att +fi +