Created
September 1, 2014 04:04
-
-
Save marshluca/a9d5ac2dee11d9be07ef to your computer and use it in GitHub Desktop.
patch to bira.zsh-theme in oh my zsh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/themes/bira.zsh-theme b/themes/bira.zsh-theme | |
index 2157204..003cb92 100644 | |
--- a/themes/bira.zsh-theme | |
+++ b/themes/bira.zsh-theme | |
@@ -4,7 +4,7 @@ local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" | |
local user_host='%{$terminfo[bold]$fg[green]%}%n@%m%{$reset_color%}' | |
local current_dir='%{$terminfo[bold]$fg[blue]%} %~%{$reset_color%}' | |
local rvm_ruby='' | |
-if which rvm-prompt &> /dev/null; then | |
+if [ -e ~/.rvm/bin/rvm-prompt ]; then | |
rvm_ruby='%{$fg[red]%}‹$(rvm-prompt i v g)›%{$reset_color%}' | |
else | |
if which rbenv &> /dev/null; then |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment