aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rw-r--r--powerlevel9k.zsh-theme7
1 files changed, 7 insertions, 0 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 954454a2..11c1249b 100644
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -227,6 +227,13 @@ prompt_rvm() {
fi
}
+# rbenv information
+prompt_rbenv() {
+ if [[ -n "$RBENV_VERSION" ]]; then
+ $1_prompt_segment red black "$RBENV_VERSION"
+ fi
+}
+
# Main prompt
build_left_prompt() {
if (( ${#POWERLEVEL9K_LEFT_PROMPT_ELEMENTS} == 0 )); then