mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-07 15:20:22 +00: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
|