| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,8 @@ |
| 0 |
+#fox theme |
|
| 1 |
+PROMPT='%{$fg[cyan]%}┌[%{$fg_bold[white]%}%n%{$reset_color%}%{$fg[cyan]%}☮%{$fg_bold[white]%}%M%{$reset_color%}%{$fg[cyan]%}]%{$fg[white]%}-%{$fg[cyan]%}(%{$fg_bold[white]%}%~%{$reset_color%}%{$fg[cyan]%})$(git_prompt_info)
|
|
| 2 |
+└> % %{$reset_color%}'
|
|
| 3 |
+ |
|
| 4 |
+ZSH_THEME_GIT_PROMPT_PREFIX="-[%{$reset_color%}%{$fg[white]%}git://%{$fg_bold[white]%}"
|
|
| 5 |
+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}%{$fg[cyan]%}]-"
|
|
| 6 |
+ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}✗%{$reset_color%}"
|
|
| 7 |
+ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}✔%{$reset_color%}"
|
| ... | ... |
@@ -8,10 +8,10 @@ |
| 8 | 8 |
# http://sam.zoy.org/wtfpl/COPYING for more details. |
| 9 | 9 |
|
| 10 | 10 |
THEMES_DIR="$ZSH/themes" |
| 11 |
-FAVLIST="~/.zsh_favlist" |
|
| 11 |
+FAVLIST="${HOME}/.zsh_favlist"
|
|
| 12 | 12 |
|
| 13 | 13 |
function noyes() {
|
| 14 |
- read -p "$1 [y/N]" a |
|
| 14 |
+ read -p "$1 [y/N] " a |
|
| 15 | 15 |
if [[ $a == "N" || $a == "n" || $a = "" ]]; then |
| 16 | 16 |
return 0 |
| 17 | 17 |
fi |
| ... | ... |
@@ -30,7 +30,7 @@ EOF |
| 30 | 30 |
rm -rf "$ZDOTDIR" |
| 31 | 31 |
|
| 32 | 32 |
echo |
| 33 |
- noyes "Do you want to add it to your favourite list?" && \ |
|
| 33 |
+ noyes "Do you want to add it to your favourite list ($FAVLIST)?" || \ |
|
| 34 | 34 |
echo $THEME >> $FAVLIST |
| 35 | 35 |
echo |
| 36 | 36 |
} |