From ac6a56df9364763d7121c24cd8d3ea88b7534c5a Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Tue, 20 Sep 2011 15:44:00 +0300 Subject: [PATCH] bashrc: How can I have forgotten to add original source where I modified tmux script? :O --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc b/bashrc index b25e191c..67e8f4f6 100644 --- a/bashrc +++ b/bashrc @@ -118,7 +118,7 @@ sleep 3; # Gives three seconds time to press CTRL + C in case you want to prevent action by tmux. -# Starts tmux always on start of bash, not only on SSH login, and quits from bash when tmux quits. WARNING: I DON'T KNOW WHAT HAPPENS IF YOU DON'T HAVE TMUX INSTALLED! +# Starts tmux always on start of bash, not only on SSH login, and quits from bash when tmux quits. WARNING: I DON'T KNOW WHAT HAPPENS IF YOU DON'T HAVE TMUX INSTALLED! (Modified from Cubox's script and William Shallum's tmux on SSH login http://william.shallum.net/random-notes/automatically-start-tmux-on-ssh-login ) if [[ $TERM != "screen" ]] then tmux has-session -t 0 && tmux attach-session -t 0 || tmux new-session -s 0 && exit