zsh plugin for installing, updating and loading
rbenv
Inspired by zsh-nvm
Once the plugin's installed rbenv will be available. You'll probably want to load this as one of your first plugins so ruby/gem is available for any other plugins that may require them.
zsh-rbenv also wraps nvm in some additional functionality.
If you want to upgrade to the latest rbenv :
$ rbenv upgrade
Using Antigen
Bundle zsh-rbenv
in your .zshrc
antigen bundle mattberther/zsh-rbenv
Using zplug
Load zsh-rbenv
as a plugin in your .zshrc
zplug "mattberther/zsh-rbenv"
Using zgen
Include the load command in your .zshrc
zgen load mattberther/zsh-rbenv
As an Oh My ZSH! custom plugin
Clone zsh-rbenv
into your custom plugins repo
git clone https://github.com/mattberther/zsh-rbenv ~/.oh-my-zsh/custom/plugins/zsh-rbenv
Then load as a plugin in your .zshrc
plugins+=(zsh-rbenv)
Keep in mind that plugins need to be added before oh-my-zsh.sh
is sourced.
Clone this repository somewhere (~/.zsh-rbenv
for example)
git clone https://github.com/mattberther/zsh-rbenv.git ~/.zsh-rbenv
Then source it in your .zshrc
(or .bashrc
)
source ~/.zsh-rbenv/zsh-rbenv.plugin.zsh
MIT © Cswl cswl1337@gmail.com