Merge pull request #610 from sjoeboo/rbenv_always

Add ability to always show rbenv prompt
This commit is contained in:
Ben Hilburn 2017-09-28 17:30:03 -04:00 committed by GitHub
commit 9ab067bd62
2 changed files with 10 additions and 6 deletions

View file

@ -509,7 +509,11 @@ This segment shows the version of Ruby being used when using `rbenv` to change y
It figures out the version being used by taking the output of the `rbenv version-name` command.
* If `rbenv` is not in $PATH, nothing will be shown.
* If the current Ruby version is the same as the global Ruby version, nothing will be shown.
* By default, if the current local Ruby version is the same as the global Ruby version, nothing will be shown. See the configuration variable, below, to modify this behavior.
Variable | Default Value | Description |
|----------|---------------|-------------|
|`POWERLEVEL9K_RBENV_ALWAYS`|'false'|Always show the `rbenv` segment, even if the local version matches the global.|
##### rspec_stats