aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2018-06-07 02:21:16 +0300
committerDominik Ritter <dritter03@googlemail.com>2018-06-07 02:21:16 +0300
commit3456af3aac62dcdbcf117b4f73276fac4a3c82fd (patch)
tree3e126ee1315ac42ee6990c8a4d9ae91592baeccc /README.md
parentd3500625ca8646dfaaf91103cc5c33c74a958955 (diff)
parentfbb85e77e3dc307c21b79c655302158077fad916 (diff)
Merge remote-tracking branch 'opes/chruby_options' into staging_065
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index bdb0332e..a5977960 100644
--- a/README.md
+++ b/README.md
@@ -266,6 +266,17 @@ Some example settings:
| Normal Colors | `(red3 darkorange3 darkgoldenrod gold3 yellow3 chartreuse2 mediumspringgreen green3 green3 green4 darkgreen)` |
| Subdued Colors | `(darkred orange4 yellow4 yellow4 chartreuse3 green3 green4 darkgreen)` |
+##### chruby
+
+This segment shows the version of Ruby being used when using `chruby` to change your current Ruby stack.
+
+It uses `$RUBY_ENGINE` and `$RUBY_VERSION` as set by `chruby`.
+
+| Variable | Default Value | Description |
+|----------|---------------|-------------|
+|`POWERLEVEL9K_CHRUBY_SHOW_ENGINE`|true|Show the currently selected Ruby engine (e.g. `ruby`, `jruby`, `rbx`, etc)
+|`POWERLEVEL9K_CHRUBY_SHOW_VERSION`|true|Shows the currently selected engine's version (e.g. `2.5.1`)
+
##### command_execution_time
Display the time the previous command took to execute if the time is above