Created dir rc.d and moved/splited stuff from bashrc to rc.d/*
This commit is contained in:
parent
ab3b20c12f
commit
919df7d554
10
rc.d/rvm
Normal file
10
rc.d/rvm
Normal file
@ -0,0 +1,10 @@
|
||||
#!/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"
|
Reference in New Issue
Block a user