1
|
1
|
new file mode 100644
|
...
|
...
|
@@ -0,0 +1,48 @@
|
|
0
|
+# ------------------------------------------------------------------------------
|
|
1
|
+# FILE: sorin.zsh-theme
|
|
2
|
+# DESCRIPTION: oh-my-zsh theme file.
|
|
3
|
+# AUTHOR: Sorin Ionescu (sorin.ionescu@gmail.com)
|
|
4
|
+# VERSION: 1.0.2
|
|
5
|
+# SCREENSHOT: http://i.imgur.com/aipDQ.png
|
|
6
|
+# ------------------------------------------------------------------------------
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+if [[ "$TERM" != "dumb" ]] && [[ "$DISABLE_LS_COLORS" != "true" ]]; then
|
|
10
|
+ MODE_INDICATOR="%{$fg_bold[red]%}❮%{$reset_color%}%{$fg[red]%}❮❮%{$reset_color%}"
|
|
11
|
+ local return_status="%{$fg[red]%}%(?..⏎)%{$reset_color%}"
|
|
12
|
+
|
|
13
|
+ PROMPT='%{$fg[cyan]%}%c$(git_prompt_info) %(!.%{$fg_bold[red]%}#.%{$fg_bold[green]%}❯)%{$reset_color%} '
|
|
14
|
+
|
|
15
|
+ ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[blue]%}git%{$reset_color%}:%{$fg[red]%}"
|
|
16
|
+ ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
|
17
|
+ ZSH_THEME_GIT_PROMPT_DIRTY=""
|
|
18
|
+ ZSH_THEME_GIT_PROMPT_CLEAN=""
|
|
19
|
+
|
|
20
|
+ RPROMPT='${return_status}$(git_prompt_status)%{$reset_color%}'
|
|
21
|
+
|
|
22
|
+ ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[green]%} ✚"
|
|
23
|
+ ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[blue]%} ✹"
|
|
24
|
+ ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%} ✖"
|
|
25
|
+ ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg[magenta]%} ➜"
|
|
26
|
+ ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[yellow]%} ═"
|
|
27
|
+ ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[cyan]%} ✭"
|
|
28
|
+else
|
|
29
|
+ MODE_INDICATOR="❮❮❮"
|
|
30
|
+ local return_status="%(?::⏎)"
|
|
31
|
+
|
|
32
|
+ PROMPT='%c$(git_prompt_info) %(!.#.❯) '
|
|
33
|
+
|
|
34
|
+ ZSH_THEME_GIT_PROMPT_PREFIX=" git:"
|
|
35
|
+ ZSH_THEME_GIT_PROMPT_SUFFIX=""
|
|
36
|
+ ZSH_THEME_GIT_PROMPT_DIRTY=""
|
|
37
|
+ ZSH_THEME_GIT_PROMPT_CLEAN=""
|
|
38
|
+
|
|
39
|
+ RPROMPT='${return_status}$(git_prompt_status)'
|
|
40
|
+
|
|
41
|
+ ZSH_THEME_GIT_PROMPT_ADDED=" ✚"
|
|
42
|
+ ZSH_THEME_GIT_PROMPT_MODIFIED=" ✹"
|
|
43
|
+ ZSH_THEME_GIT_PROMPT_DELETED=" ✖"
|
|
44
|
+ ZSH_THEME_GIT_PROMPT_RENAMED=" ➜"
|
|
45
|
+ ZSH_THEME_GIT_PROMPT_UNMERGED=" ═"
|
|
46
|
+ ZSH_THEME_GIT_PROMPT_UNTRACKED=" ✭"
|
|
47
|
+fi
|