From 05dd355cbaec72b24ad281abf2cb5c8714fc5ec1 Mon Sep 17 00:00:00 2001 From: GeorgeSG Date: Thu, 10 Jul 2014 11:32:44 +0300 Subject: [PATCH] Add .bash_profile --- .bash_profile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .bash_profile diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 0000000..9af2f20 --- /dev/null +++ b/.bash_profile @@ -0,0 +1,10 @@ + +[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile + +[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* + +if [[ "$TERM" != "screen-256color" ]] +then + tmux -2 attach-session -t "default" || tmux -2 new-session -s "default" + exit +fi