Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.
/ rbenv Public archive

Rbenv support plugin for fish-shell

License

Notifications You must be signed in to change notification settings

daenney/rbenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This plugin for Fisherman is no longer maintained as I've switched away to using asdf instead. If this plugin is useful to you and you'd like to take over maintainership, please let me know.


Rbenv

rbenv plugin support for the fish shell.

Install

With fisherman

fisher daenney/rbenv

Notes

This plugin replaces what status --is-interactive; and . (rbenv init -|psub) does in a more fishy way. This brings the startup time of your shell down as we do not generate full completions every time the shell starts but only when rbenv gets called.

On Fish 2.3.0 and later support was introduced that automatically loads snippets in conf.d. However, these snippets are evaluated before your config.fish. If you're setting RBENV_ROOT in your config.fish to relocate your rbenv installation this will be evaluated after our plugin gets loaded and hence have no effect. In order to fix this you should drop a 000-env.fish file in your ~/.config/fish/conf.d folder which sets up your environment accordingly.