2013-12-05 13:38:25 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Load RVM into a shell session *as a function*
|
|
|
|
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
|
|
|
|
|
|
|
|
# Source bash completion for RVM
|
|
|
|
[[ -r "$HOME/.rvm/scripts/completion" ]] && source "$HOME/.rvm/scripts/completion"
|
2014-01-15 22:11:42 +01:00
|
|
|
|
|
|
|
# Add RVM to PATH for scripting
|
|
|
|
[[ -r "$HOME/.rvm/bin" ]] && PATH=$PATH:$HOME/.rvm/bin
|