From 2d346d03e9f828ecddecdc9d120aef7e342f1b5c Mon Sep 17 00:00:00 2001 From: Shien Hong Date: Wed, 25 Mar 2015 18:01:06 -0700 Subject: [PATCH] revert the spacing to original file --- themes/agnoster.zsh-theme | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme index 69c73b1e4..d0045f869 100644 --- a/themes/agnoster.zsh-theme +++ b/themes/agnoster.zsh-theme @@ -75,10 +75,9 @@ prompt_git() { dirty=$(parse_git_dirty) 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 yellow black + prompt_segment yellow black else prompt_segment green black - fi if [[ -e "${repo_path}/BISECT_LOG" ]]; then @@ -88,6 +87,7 @@ 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 + setopt promptsubst autoload -Uz vcs_info