72d7c0363c849fe166577ad91f06ab087feb99b1

Author
Ubiratan Pires Alberton <u.alberton@gmail.com>
Committer
Ubiratan Pires Alberton <u.alberton@gmail.com>
Date

Message

Added my own theme, based on macovsky-ruby and funky

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%}"