Browse code

macowsky modified theme with ruby version on prompt

lunks authored on 13/05/2010 at 23:15:31
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,8 @@
0
+# ZSH Theme - Preview: http://gyazo.com/8becc8a7ed5ab54a0262a470555c3eed.png
1
+local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
2
+
3
+PROMPT='%{$fg[green]%}%~%{$reset_color%} %{$fg[red]%}‹$(~/.rvm/bin/rvm-prompt i v)› %{$reset_color%} $(git_prompt_info)%{$reset_color%}%B$%b '
4
+RPS1="${return_code}"
5
+
6
+ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹"
7
+ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}"