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".
This commit is contained in:
Mika Suomalainen 2011-09-09 14:29:07 +03:00
parent 9054697bdb
commit 7ddd54f084
1 changed files with 4 additions and 0 deletions

4
bashrc
View File

@ -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