Browse code

Merge pull request #314 from mattsacks/master.

Add Muse theme for 256 color terminals

Robby Russell authored on 01/05/2011 at 10:02:57
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,30 @@
0
+#!/usr/bin/env zsh
1
+#local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
2
+
3
+setopt promptsubst
4
+
5
+autoload -U add-zsh-hook
6
+
7
+PROMPT_SUCCESS_COLOR=$FG[117]
8
+PROMPT_FAILURE_COLOR=$FG[124]
9
+PROMPT_VCS_INFO_COLOR=$FG[242]
10
+PROMPT_PROMPT=$FG[077]
11
+GIT_DIRTY_COLOR=$FG[133]
12
+GIT_CLEAN_COLOR=$FG[118]
13
+GIT_PROMPT_INFO=$FG[012]
14
+
15
+PROMPT='%{$PROMPT_SUCCESS_COLOR%}%~%{$reset_color%} %{$GIT_PROMPT_INFO%}$(git_prompt_info)%{$GIT_DIRTY_COLOR%}$(git_prompt_status) %{$reset_color%}%{$PROMPT_PROMPT%}ᐅ%{$reset_color%} '
16
+
17
+#RPS1="${return_code}"
18
+
19
+ZSH_THEME_GIT_PROMPT_PREFIX="("
20
+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$GIT_PROMPT_INFO%})"
21
+ZSH_THEME_GIT_PROMPT_DIRTY=" %{$GIT_DIRTY_COLOR%}✘"
22
+ZSH_THEME_GIT_PROMPT_CLEAN=" %{$GIT_CLEAN_COLOR%}✔"
23
+
24
+ZSH_THEME_GIT_PROMPT_ADDED="%{$FG[082]%}✚%{$reset_color%}"
25
+ZSH_THEME_GIT_PROMPT_MODIFIED="%{$FG[166]%}✹%{$reset_color%}"
26
+ZSH_THEME_GIT_PROMPT_DELETED="%{$FG[160]%}✖%{$reset_color%}"
27
+ZSH_THEME_GIT_PROMPT_RENAMED="%{$FG[220]%}➜%{$reset_color%}"
28
+ZSH_THEME_GIT_PROMPT_UNMERGED="%{$FG[082]%}═%{$reset_color%}"
29
+ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$FG[190]%}✭%{$reset_color%}"