11 lines
306 B
Bash
11 lines
306 B
Bash
#!/bin/bash
|
|
|
|
# Load RVM into a shell session *as a function*
|
|
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
|
|
|
|
# Add RVM to PATH for scripting
|
|
PATH=$PATH:$HOME/.rvm/bin
|
|
|
|
# Source bash completion for RVM
|
|
[[ -r "$HOME/.rvm/scripts/completion" ]] && source "$HOME/.rvm/scripts/completion"
|