Help files. Added the rest of bash it
This commit is contained in:
16
plugins/rvm.plugin.bash
Normal file
16
plugins/rvm.plugin.bash
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
switch () {
|
||||
rvm $1
|
||||
local v=$(rvm_version)
|
||||
rvm wrapper $1 textmate
|
||||
echo "Switch to Ruby version: "$v
|
||||
}
|
||||
|
||||
rvm_default () {
|
||||
rvm --default $1
|
||||
rvm wrapper $1 textmate
|
||||
}
|
||||
|
||||
function rvm_version () {
|
||||
ruby --version
|
||||
}
|
||||
Reference in New Issue
Block a user