From 66acf56c256377a909c07dd1155cfbe8542675ed Mon Sep 17 00:00:00 2001 From: Shien Hong Date: Wed, 25 Mar 2015 16:22:06 -0700 Subject: [PATCH] delete the dirty display since it's redundent to the color change on the bar --- themes/agnoster.zsh-theme | 2 -- 1 file changed, 2 deletions(-) diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme index 08648f6ee..51e981ea1 100644 --- a/themes/agnoster.zsh-theme +++ b/themes/agnoster.zsh-theme @@ -76,7 +76,6 @@ prompt_git() { ref=$(git symbolic-ref HEAD 2> /dev/null) || ref="➦ $(git show-ref --head -s --abbrev |head -n1 2> /dev/null)" if [[ -n $dirty ]]; then prompt_segment red black - st=' \u00b1' else prompt_segment green black @@ -89,7 +88,6 @@ prompt_git() { elif [[ -e "${repo_path}/rebase" || -e "${repo_path}/rebase-apply" || -e "${repo_path}/rebase-merge" || -e "${repo_path}/../.dotest" ]]; then mode=" >R>" fi - mode=$st; setopt promptsubst autoload -Uz vcs_info