1
0
Fork 0
oh-my-zsh/plugins/chruby
Dennis Dashkevich 8074eb8b46
fix(chruby): update brew sourcing for Apple Silicon (#12941)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2025-02-12 20:24:56 +01:00
..
chruby.plugin.zsh fix(chruby): update brew sourcing for Apple Silicon (#12941) 2025-02-12 20:24:56 +01:00
README.md style(chruby): fix plugin code style and loading process 2021-12-13 17:37:44 +01:00

chruby plugin

This plugin loads 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:

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