Skip to content

Commit

Permalink
load RVM into a shell session *as a function*
Browse files Browse the repository at this point in the history
  • Loading branch information
nijikon committed May 26, 2016
1 parent 40e2fa0 commit 1879f48
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ ulimit -n 2048
# added by travis gem
[ -f ~/.travis/travis.sh ] && source ~/.travis/travis.sh

# Add RVM to PATH for scripting
export PATH="$PATH:$HOME/.rvm/bin"
# Load RVM into a shell session *as a function*
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting

alias be='bundle exec'
alias tmx='tmux -S ~/.tmp/tmux.sock'
alias tmxa='tmx attach -t $1'

0 comments on commit 1879f48

Please sign in to comment.