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