Fixes #119: rbenv has not released a final version with support to fish yet, so for now, we are cloning the expected end-result

This commit is contained in:
Bruno Pinto 2014-02-14 16:11:11 -02:00
parent 69b94f20c2
commit 580970644c

12
plugins/rbenv/rbenv.fish Normal file
View File

@ -0,0 +1,12 @@
function rbenv
set command $argv[1]
set -e argv[1]
switch "$command"
case rehash shell
eval (rbenv "sh-$command" $argv)
case '*'
command rbenv "$command" $argv
end
end