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