98d7a010994cd39758e4a1599cefe9e130a346db

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

Message

theme cleanup

Diff

 1diff --git a/themes/af-magic.zsh-theme b/themes/af-magic.zsh-theme
 2index 241393f1e4c82c87bccd67656213ac4c6ce7bb75..c1b00c62bf6ec6889cd0f88c41321b4aabf971a8 100644
 3--- a/themes/af-magic.zsh-theme
 4+++ b/themes/af-magic.zsh-theme
 5@@ -2,6 +2,8 @@
 6 #
 7 # Author: Andy Fleming
 8 # URL: http://andyfleming.com/
 9+# Repo: https://github.com/andyfleming/oh-my-zsh
10+# Direct Link: https://github.com/andyfleming/oh-my-zsh/blob/master/themes/af-magic.zsh-theme
11 #
12 # Created on:		June 19, 2012
13 # Last modified on:	June 20, 2012
14@@ -11,7 +13,7 @@
15 if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="green"; fi
16 local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
17 
18-
19+# primary prompt
20 PROMPT='$FG[237]------------------------------------------------------------%{$reset_color%}
21 $FG[032]%~\
22 $(git_prompt_info) \
23@@ -20,20 +22,15 @@ PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
24 RPS1='${return_code}'
25 
26 
27-
28+# color vars
29 eval my_gray='$FG[237]'
30 eval my_orange='$FG[214]'
31-RPROMPT='$my_gray%n@%m%{$reset_color%}%'
32 
33+# right prompt
34+RPROMPT='$my_gray%n@%m%{$reset_color%}%'
35 
36+# git settings
37 ZSH_THEME_GIT_PROMPT_PREFIX="$FG[075](branch:"
38 ZSH_THEME_GIT_PROMPT_CLEAN=""
39 ZSH_THEME_GIT_PROMPT_DIRTY="$my_orange*%{$reset_color%}"
40 ZSH_THEME_GIT_PROMPT_SUFFIX="$FG[075])%{$reset_color%}"
41-
42-
43-
44-# LS colors, made with http://geoff.greer.fm/lscolors/
45-#export LSCOLORS="exfxcxdxbxegedabagacad"
46-#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:'
47-