need to reset color sometime

This commit is contained in:
Hunter Haugen 2010-11-20 22:20:02 -08:00
parent f40f1108ba
commit bb5204b76d

1
.zshrc
View file

@ -80,6 +80,7 @@ export GPGKEY="48C7AF0C"
# Prompt
#PS1="%m%# "
prompt_precmd() {
gitcolor=""
if ! zgit_isindexclean ; then
#PROMPT="[%F{$usercolor}%n%F{white}@%F{$hostcolor}%m%F{white}:%F{blue}%~%f](%F{cyan}$(zgit_branch)%f)>"
gitcolor=$fg[blue]