From 7ddd54f084ca73e874f75dd965dfbae432815fb6 Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Fri, 9 Sep 2011 14:29:07 +0300 Subject: [PATCH] bashrc: Added sleep time to prevent tmux from starting if someone wants to do that and comments. bash will now wait for three seconds before starting tmux. This gives the user three seconds time to press ctrl + c to prevent tmux from taking action. User might want to do this when SSHing in to somewhere. bashrc has comment to warn to NOT put anything to "tmux area". --- bashrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bashrc b/bashrc index 206e33c5..c3dcec97 100644 --- a/bashrc +++ b/bashrc @@ -119,6 +119,10 @@ source ~/.bash_private_aliases # To see time when bash starts :) date +## DO NOT PUT ANYTHING BELOW THIS LINE OR YOUR CHANGES MAY GET IGNORED BY BASH! + +# 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! if [[ $TERM != "screen" ]] then