/plugin-rbenv

rbenv Ruby environment/version manager.

Primary LanguageShellMIT LicenseMIT


Ruby environment/version manager plugin for Oh My Fish.

Install

Note: You need to have rbenv installed.

$ omf install rbenv

Configuration

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

Prompt util

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

License

MIT © bpinto et al