Files
dotfiles/.bash_profile
T
2014-07-10 11:32:44 +03:00

11 lines
332 B
Bash

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