need to reset color sometime
This commit is contained in:
parent
f40f1108ba
commit
bb5204b76d
1 changed files with 1 additions and 0 deletions
1
.zshrc
1
.zshrc
|
|
@ -80,6 +80,7 @@ export GPGKEY="48C7AF0C"
|
||||||
# Prompt
|
# Prompt
|
||||||
#PS1="%m%# "
|
#PS1="%m%# "
|
||||||
prompt_precmd() {
|
prompt_precmd() {
|
||||||
|
gitcolor=""
|
||||||
if ! zgit_isindexclean ; then
|
if ! zgit_isindexclean ; then
|
||||||
#PROMPT="[%F{$usercolor}%n%F{white}@%F{$hostcolor}%m%F{white}:%F{blue}%~%f](%F{cyan}$(zgit_branch)%f)>"
|
#PROMPT="[%F{$usercolor}%n%F{white}@%F{$hostcolor}%m%F{white}:%F{blue}%~%f](%F{cyan}$(zgit_branch)%f)>"
|
||||||
gitcolor=$fg[blue]
|
gitcolor=$fg[blue]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue