8bda5d185aedefb08bf3f98c8e930cc1f380370d

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge branch 'master' of https://github.com/Bira/oh-my-zsh into Bira-master

Diff

 1diff --git a/themes/bira.zsh-theme b/themes/bira.zsh-theme
 2new file mode 100644
 3index 0000000000000000000000000000000000000000..f0ee6a5bded2ca01dc9dbf2bb6ca8f1890eb2b34
 4--- /dev/null
 5+++ b/themes/bira.zsh-theme
 6@@ -0,0 +1,14 @@
 7+# ZSH Theme - Preview: http://gyazo.com/8becc8a7ed5ab54a0262a470555c3eed.png
 8+local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
 9+
10+local user_host='%{$terminfo[bold]$fg[green]%}%n@%m%{$reset_color%}'
11+local current_dir='%{$terminfo[bold]$fg[blue]%} %~%{$reset_color%}'
12+local rvm_ruby='%{$fg[red]%}‹$(~/.rvm/bin/rvm-prompt i v g)›%{$reset_color%}'
13+local git_branch='$(git_prompt_info)%{$reset_color%}'
14+
15+PROMPT="╭─${user_host} ${current_dir} ${rvm_ruby} ${git_branch}
16+╰─%B$%b "
17+RPS1="${return_code}"
18+
19+ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹"
20+ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}"