Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
ba57b5c7
Unverified
Commit
ba57b5c7
authored
Oct 09, 2019
by
Marc Cornellà
Committed by
GitHub
Oct 09, 2019
Browse files
chruby: add README (#8238)
parents
11e23477
98cd133c
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/chruby/README.md
0 → 100644
View file @
ba57b5c7
# chruby plugin
This plugin loads
[
chruby
](
https://github.com/postmodern/chruby
)
, a tool that changes the
current Ruby version, and completion and a prompt function to display the Ruby version.
Supports brew and manual installation of chruby.
To use it, add
`chruby`
to the plugins array in your zshrc file:
```
zsh
plugins
=(
... chruby
)
```
## Usage
If you'd prefer to specify an explicit path to load chruby from
you can set variables like so:
```
zstyle :omz:plugins:chruby path /local/path/to/chruby.sh
zstyle :omz:plugins:chruby auto /local/path/to/auto.sh
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment