Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix bira theme to show current rvm environment #1492

Closed
wants to merge 1 commit into from

2 participants

@ytaras

I liked bira theme the most, but it's integration with RVM didn't work OOTB on my Linux Mint 14 - current rvm wasn't shown in prompt. Simple fix was to copy from one of the themes which has this integration working and paste into bira.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 11, 2012
  1. @ytaras

    Fixed bira theme

    ytaras authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  themes/bira.zsh-theme
View
2  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 [[ -s ~/.rvm/scripts/rvm ]] ; then
rvm_ruby='%{$fg[red]%}‹$(rvm-prompt i v g)›%{$reset_color%}'
else
if which rbenv &> /dev/null; then
Something went wrong with that request. Please try again.