oh-my-fish/plugins/rbenv/rbenv.fish

13 lines
190 B
Fish
Raw Normal View History

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