mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-12-02 14:03:51 +08:00
12 lines
189 B
Fish
12 lines
189 B
Fish
|
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
|