mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Source RVM directly rather than relying on .zshrc or even .bashrc, and let people have their own patch versions
This commit is contained in:
parent
9f46eafae0
commit
7a80152d5f
1 changed files with 4 additions and 2 deletions
|
|
@ -1,8 +1,10 @@
|
|||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
|
||||
|
||||
alias rubies='rvm list rubies'
|
||||
alias gemsets='rvm gemset list'
|
||||
|
||||
local ruby18='ruby-1.8.7-p334'
|
||||
local ruby19='ruby-1.9.2-p180'
|
||||
local ruby18='ruby-1.8.7'
|
||||
local ruby19='ruby-1.9.2'
|
||||
|
||||
function rb18 {
|
||||
if [ -z "$1" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue