Ruby environment/version manager plugin for Oh My Fish.
Note: You need to have
rbenv
installed.
$ omf install rbenv
If you have a custom rbenv root, you can add the following to your ~/.config/fish/init.fish
file before sourcing Oh My Fish.
set -gx RBENV_ROOT #path
If you like to easily get current ruby version in you prompt you can use the rbenv_prompt
function, e.g:
function fish_right_prompt
rbenv_prompt
end