f02c9560b3089fae2639a466ea39263553619df5

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

Message

macowsky modified theme with ruby version on prompt

Diff

 1diff --git a/themes/macovsky-ruby.zsh-theme b/themes/macovsky-ruby.zsh-theme
 2new file mode 100644
 3index 0000000000000000000000000000000000000000..4eb410233f96bbfa0f43b47122964eaee3ee893f
 4--- /dev/null
 5+++ b/themes/macovsky-ruby.zsh-theme
 6@@ -0,0 +1,8 @@
 7+# ZSH Theme - Preview: http://gyazo.com/8becc8a7ed5ab54a0262a470555c3eed.png
 8+local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
 9+
10+PROMPT='%{$fg[green]%}%~%{$reset_color%} %{$fg[red]%}‹$(~/.rvm/bin/rvm-prompt i v)› %{$reset_color%} $(git_prompt_info)%{$reset_color%}%B$%b '
11+RPS1="${return_code}"
12+
13+ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹"
14+ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}"