summaryrefslogtreecommitdiff
path: root/themes/gallois.zsh-theme
diff options
context:
space:
mode:
authorBob Williams <bobwilliams.ii@gmail.com>2014-03-14 10:32:03 -0400
committerBob Williams <bobwilliams.ii@gmail.com>2014-03-14 10:32:03 -0400
commit223fd60ba597b8c23569c65878d766c3c933fa70 (patch)
tree33c5c6a150293e6cf81f26f0f1b9c733dcf8aab7 /themes/gallois.zsh-theme
parent185cb6e37352cc0d92042e35d259b0de3f5f3886 (diff)
parentee21fe94473404b58cbaea5b2c279f7a07c34ce1 (diff)
downloadzsh-223fd60ba597b8c23569c65878d766c3c933fa70.tar.gz
zsh-223fd60ba597b8c23569c65878d766c3c933fa70.tar.bz2
zsh-223fd60ba597b8c23569c65878d766c3c933fa70.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'themes/gallois.zsh-theme')
-rw-r--r--themes/gallois.zsh-theme6
1 files changed, 5 insertions, 1 deletions
diff --git a/themes/gallois.zsh-theme b/themes/gallois.zsh-theme
index d624e3afc..1ff86b54c 100644
--- a/themes/gallois.zsh-theme
+++ b/themes/gallois.zsh-theme
@@ -18,7 +18,11 @@ else
if which rbenv &> /dev/null; then
RPS1='$(git_custom_status)%{$fg[red]%}[`rbenv version | sed -e "s/ (set.*$//"`]%{$reset_color%} $EPS1'
else
- RPS1='$(git_custom_status) $EPS1'
+ if which chruby_prompt_info &> /dev/null; then
+ RPS1='$(git_custom_status)%{$fg[red]%}[`chruby_prompt_info`]%{$reset_color%} $EPS1'
+ else
+ RPS1='$(git_custom_status) $EPS1'
+ fi
fi
fi