summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlunks <pnascimento@gmail.com>2010-05-14 07:15:31 +0800
committerRobby Russell <robby@planetargon.com>2010-05-28 08:09:57 +0800
commitf02c9560b3089fae2639a466ea39263553619df5 (patch)
tree37ee96229fd11e01187fa83888676e44439856aa
parent8247cbf8b56ebd5915813bb1fafb72e71fc06c8f (diff)
downloadzsh-f02c9560b3089fae2639a466ea39263553619df5.tar.gz
zsh-f02c9560b3089fae2639a466ea39263553619df5.tar.bz2
zsh-f02c9560b3089fae2639a466ea39263553619df5.zip
macowsky modified theme with ruby version on prompt
-rw-r--r--themes/macovsky-ruby.zsh-theme8
1 files changed, 8 insertions, 0 deletions
diff --git a/themes/macovsky-ruby.zsh-theme b/themes/macovsky-ruby.zsh-theme
new file mode 100644
index 000000000..4eb410233
--- /dev/null
+++ b/themes/macovsky-ruby.zsh-theme
@@ -0,0 +1,8 @@
+# ZSH Theme - Preview: http://gyazo.com/8becc8a7ed5ab54a0262a470555c3eed.png
+local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
+
+PROMPT='%{$fg[green]%}%~%{$reset_color%} %{$fg[red]%}‹$(~/.rvm/bin/rvm-prompt i v)› %{$reset_color%} $(git_prompt_info)%{$reset_color%}%B$%b '
+RPS1="${return_code}"
+
+ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹"
+ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}"