diff options
author | Robby Russell <robby@planetargon.com> | 2013-04-23 20:57:24 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2013-04-23 20:57:24 -0700 |
commit | 8890df12510ee39287c6d0669134c29f05e8e56b (patch) | |
tree | 84b7d0a21c7cf31302a6e82cd2dd21821945d2d9 /themes/crunch.zsh-theme | |
parent | b035662e4c835f8b1ca81636a5a265d1a3394d17 (diff) | |
parent | b62a3e89602bca23b794dd1e808d92a89880ad3f (diff) | |
download | zsh-8890df12510ee39287c6d0669134c29f05e8e56b.tar.gz zsh-8890df12510ee39287c6d0669134c29f05e8e56b.tar.bz2 zsh-8890df12510ee39287c6d0669134c29f05e8e56b.zip |
Merge pull request #922 from sbfaulkner/master
patch rbenv support for themes
Diffstat (limited to 'themes/crunch.zsh-theme')
-rw-r--r-- | themes/crunch.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/crunch.zsh-theme b/themes/crunch.zsh-theme index b2759a1b0..2fc066381 100644 --- a/themes/crunch.zsh-theme +++ b/themes/crunch.zsh-theme @@ -29,7 +29,7 @@ ZSH_THEME_GIT_PROMPT_DIRTY=" $CRUNCH_GIT_DIRTY_COLOR✗" # Our elements: CRUNCH_TIME_="$CRUNCH_BRACKET_COLOR{$CRUNCH_TIME_COLOR%T$CRUNCH_BRACKET_COLOR}%{$reset_color%}" -if which rvm-prompt &> /dev/null; then +if [ -e ~/.rvm/bin/rvm-prompt ]; then CRUNCH_RVM_="$CRUNCH_BRACKET_COLOR"["$CRUNCH_RVM_COLOR\${\$(~/.rvm/bin/rvm-prompt i v g)#ruby-}$CRUNCH_BRACKET_COLOR"]"%{$reset_color%}" else if which rbenv &> /dev/null; then |