mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-10 17:00:46 +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
|