mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-12-02 05:34:10 +08:00
3ba9a50bee
Use rbenv fish integration, if available. Fix rbenv "supports fish" logic.
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
|