Skip to content

mattberther/zsh-rbenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

zsh-rbenv

zsh plugin for installing, updating and loading rbenv
Inspired by zsh-nvm

Usage

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.

Upgrade

If you want to upgrade to the latest rbenv :

$ rbenv upgrade

Installation

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.

Manually

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

License

MIT © Cswl cswl1337@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages