From 5b19f688f45ad0907b8897e83c137545ebdfecba Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Tue, 4 Oct 2016 12:10:00 +0100 Subject: [PATCH] Add beginning of a default TMUX remote session attach/restore. --- .bashrc_local.sample | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .bashrc_local.sample diff --git a/.bashrc_local.sample b/.bashrc_local.sample new file mode 100644 index 0000000..9b1aae7 --- /dev/null +++ b/.bashrc_local.sample @@ -0,0 +1,4 @@ +# Launch/restore tmux command sessions +if [ -x $(which tmux) ]; then + tmux has-session && tmux -CC attach || tmux -CC +fi