Browse code

Added my own theme.

alanpeabody authored on 27/05/2011 at 03:56:45
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,22 @@
0
+
1
+local user='%{$fg[magenta]%}%n@%{$fg[magenta]%}%m%{$reset_color%}'
2
+local pwd='%{$fg[blue]%}%~%{$reset_color%}'
3
+local rvm='%{$fg[green]%}‹$(rvm-prompt i v g)›%{$reset_color%}'
4
+local return_code='%(?..%{$fg[red]%}%? ↵%{$reset_color%})'
5
+local git_branch='$(git_prompt_status)%{$reset_color%}$(git_prompt_info)%{$reset_color%}'
6
+
7
+ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}"
8
+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
9
+ZSH_THEME_GIT_PROMPT_DIRTY=""
10
+ZSH_THEME_GIT_PROMPT_CLEAN=""
11
+
12
+ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[green]%} ✚"
13
+ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[blue]%} ✹"
14
+ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%} ✖"
15
+ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg[magenta]%} ➜"
16
+ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[yellow]%} ═"
17
+ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[cyan]%} ✭"
18
+
19
+PROMPT="${user} ${pwd}$ "
20
+RPROMPT="${return_code} ${git_branch} ${rvm}"
21
+