b97cc939ec50cbd424beb4d9d5d61625b209ccac

Author
Andy Fleming <afleming@variableaction.com>
Committer
Andy Fleming <afleming@variableaction.com>
Date

Message

added first version of my theme af-magic

Diff

 1diff --git a/themes/af-magic.zsh-theme b/themes/af-magic.zsh-theme
 2new file mode 100644
 3index 0000000000000000000000000000000000000000..241393f1e4c82c87bccd67656213ac4c6ce7bb75
 4--- /dev/null
 5+++ b/themes/af-magic.zsh-theme
 6@@ -0,0 +1,39 @@
 7+# af-magic.zsh-theme
 8+#
 9+# Author: Andy Fleming
10+# URL: http://andyfleming.com/
11+#
12+# Created on:		June 19, 2012
13+# Last modified on:	June 20, 2012
14+
15+
16+
17+if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="green"; fi
18+local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
19+
20+
21+PROMPT='$FG[237]------------------------------------------------------------%{$reset_color%}
22+$FG[032]%~\
23+$(git_prompt_info) \
24+$FG[105]%(!.#.»)%{$reset_color%} '
25+PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
26+RPS1='${return_code}'
27+
28+
29+
30+eval my_gray='$FG[237]'
31+eval my_orange='$FG[214]'
32+RPROMPT='$my_gray%n@%m%{$reset_color%}%'
33+
34+
35+ZSH_THEME_GIT_PROMPT_PREFIX="$FG[075](branch:"
36+ZSH_THEME_GIT_PROMPT_CLEAN=""
37+ZSH_THEME_GIT_PROMPT_DIRTY="$my_orange*%{$reset_color%}"
38+ZSH_THEME_GIT_PROMPT_SUFFIX="$FG[075])%{$reset_color%}"
39+
40+
41+
42+# LS colors, made with http://geoff.greer.fm/lscolors/
43+#export LSCOLORS="exfxcxdxbxegedabagacad"
44+#export LS_COLORS='di=34;40:ln=35;40:so=32;40:pi=33;40:ex=31;40:bd=34;46:cd=34;43:su=0;41:sg=0;46:tw=0;42:ow=0;43:'
45+