From 7d410549cdeb838c45db4225a3b7d63e7098866d Mon Sep 17 00:00:00 2001 From: Karolis Mazukna Date: Tue, 8 Oct 2019 22:42:18 +0100 Subject: [PATCH 1/2] Adds chruby plugib README.md --- plugins/chruby/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 plugins/chruby/README.md diff --git a/plugins/chruby/README.md b/plugins/chruby/README.md new file mode 100644 index 000000000..c5e4b9332 --- /dev/null +++ b/plugins/chruby/README.md @@ -0,0 +1,19 @@ +# chruby plugin + +This plugin loads the [chruby](https://github.com/postmodern/chruby). 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 +``` From 98cd133c4d15c1a147679cc00c0bd924fd91f11c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Wed, 9 Oct 2019 18:12:58 +0200 Subject: [PATCH 2/2] Reword and add extra information --- plugins/chruby/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/chruby/README.md b/plugins/chruby/README.md index c5e4b9332..d373006a5 100644 --- a/plugins/chruby/README.md +++ b/plugins/chruby/README.md @@ -1,9 +1,10 @@ # chruby plugin -This plugin loads the [chruby](https://github.com/postmodern/chruby). Supports brew and manual installation of chruby. +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) ```