diff options
author | Bob Williams <bobwilliams.ii@gmail.com> | 2014-03-14 10:32:03 -0400 |
---|---|---|
committer | Bob Williams <bobwilliams.ii@gmail.com> | 2014-03-14 10:32:03 -0400 |
commit | 223fd60ba597b8c23569c65878d766c3c933fa70 (patch) | |
tree | 33c5c6a150293e6cf81f26f0f1b9c733dcf8aab7 /themes/gallois.zsh-theme | |
parent | 185cb6e37352cc0d92042e35d259b0de3f5f3886 (diff) | |
parent | ee21fe94473404b58cbaea5b2c279f7a07c34ce1 (diff) | |
download | zsh-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-theme | 6 |
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 |