Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Bira/oh-my-zsh into Bira-…
Browse files Browse the repository at this point in the history
…master
  • Loading branch information
robbyrussell committed Nov 19, 2010
2 parents 580eda4 + 72d7c03 commit 8bda5d1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions themes/bira.zsh-theme
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# ZSH Theme - Preview: http://gyazo.com/8becc8a7ed5ab54a0262a470555c3eed.png
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='%{$fg[red]%}‹$(~/.rvm/bin/rvm-prompt i v g)›%{$reset_color%}'
local git_branch='$(git_prompt_info)%{$reset_color%}'

PROMPT="╭─${user_host} ${current_dir} ${rvm_ruby} ${git_branch}
╰─%B$%b "
RPS1="${return_code}"

ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹"
ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}"

0 comments on commit 8bda5d1

Please sign in to comment.