1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,15 @@ |
0 |
+ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[green]%}" |
|
1 |
+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" |
|
2 |
+ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}⚡" |
|
3 |
+ZSH_THEME_GIT_PROMPT_CLEAN="" |
|
4 |
+ |
|
5 |
+function prompt_char { |
|
6 |
+ if [ $UID -eq 0 ]; then echo "%{$fg[red]%}#%{$reset_color%}"; else echo $; fi |
|
7 |
+} |
|
8 |
+ |
|
9 |
+PROMPT='%(?, ,%{$fg[red]%}FAIL: $?%{$reset_color%} |
|
10 |
+) |
|
11 |
+%{$fg[magenta]%}%n%{$reset_color%}@%{$fg[yellow]%}%m%{$reset_color%}: %{$fg_bold[blue]%}%~%{$reset_color%}$(git_prompt_info) |
|
12 |
+%_$(prompt_char) ' |
|
13 |
+ |
|
14 |
+RPROMPT='%{$fg[green]%}[%*]%{$reset_color%}' |