config-bash/profile.d/rvm
Xavier Logerais (Numericable - Ingénierie Système) a4d106645d Add support for completion for RVM
2013-11-06 23:25:43 +01:00

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"