summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2014-03-13 16:18:55 -0700
committerRobby Russell <robby@planetargon.com>2014-03-13 16:18:55 -0700
commitee21fe94473404b58cbaea5b2c279f7a07c34ce1 (patch)
tree0321800060788849909a1a58c95f53860cb37cea /themes
parent8d8df3fd7a5180db425f624037f7bfaaf18d55e6 (diff)
parentf6bb74e452590c18b8545cb444a998448c7ae4f0 (diff)
downloadzsh-ee21fe94473404b58cbaea5b2c279f7a07c34ce1.tar.gz
zsh-ee21fe94473404b58cbaea5b2c279f7a07c34ce1.tar.bz2
zsh-ee21fe94473404b58cbaea5b2c279f7a07c34ce1.zip
Merge pull request #2380 from rkh/chruby-gallois
add chruby info to gallois theme
Diffstat (limited to 'themes')
-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