mirror of
https://github.com/Cornelicorn/bullet-train.zsh.git
synced 2025-12-06 20:00:38 +01:00
Fixup documentation for chruby
This commit is contained in:
@@ -13,7 +13,7 @@ simplicity, showing information only when it's relevant.
|
|||||||
|
|
||||||
It currently shows:
|
It currently shows:
|
||||||
- Current Python virtualenv
|
- Current Python virtualenv
|
||||||
- Current Ruby version using Rbenv; version and gemset when on RVM
|
- Current Ruby version using Rbenv or chruby; version and gemset when on RVM
|
||||||
- Current Node.js version, through NVM
|
- Current Node.js version, through NVM
|
||||||
- Git status
|
- Git status
|
||||||
- Timestamp
|
- Timestamp
|
||||||
|
|||||||
@@ -337,6 +337,7 @@ prompt_dir() {
|
|||||||
# RUBY
|
# RUBY
|
||||||
# RVM: only shows RUBY info if on a gemset that is not the default one
|
# RVM: only shows RUBY info if on a gemset that is not the default one
|
||||||
# RBENV: shows current ruby version active in the shell
|
# RBENV: shows current ruby version active in the shell
|
||||||
|
# CHRUBY: shows current ruby version active in the shell
|
||||||
prompt_ruby() {
|
prompt_ruby() {
|
||||||
if [[ $BULLETTRAIN_RUBY_SHOW == false ]] then
|
if [[ $BULLETTRAIN_RUBY_SHOW == false ]] then
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user