]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/chruby/README.md
initial
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / chruby / README.md
1 # chruby plugin
2
3 This plugin loads [chruby](https://github.com/postmodern/chruby), a tool that changes the
4 current Ruby version, and completion and a prompt function to display the Ruby version.
5 Supports brew and manual installation of chruby.
6
7 To use it, add `chruby` to the plugins array in your zshrc file:
8
9 ```zsh
10 plugins=(... chruby)
11 ```
12
13 ## Usage
14
15 If you'd prefer to specify an explicit path to load chruby from
16 you can set variables like so:
17
18 ```zsh
19 zstyle :omz:plugins:chruby path /local/path/to/chruby.sh
20 zstyle :omz:plugins:chruby auto /local/path/to/auto.sh
21 ```