diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-08-07 18:07:59 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-08-07 18:07:59 +0200 |
commit | c4478f36bb64761ddf76c4a7cbc5f095c18285de (patch) | |
tree | 0d7c5599cfb8213877ab3892b98b17d872a897f4 | |
parent | cbd65134a8afb2b1fc28419fd95f257287f81e89 (diff) |
[Git] Shows untracked marker on checkout branches only
-rw-r--r-- | 01_Internal.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/01_Internal.zsh b/01_Internal.zsh index 2582785..bf56b33 100644 --- a/01_Internal.zsh +++ b/01_Internal.zsh @@ -243,7 +243,7 @@ __get_git_branch () __debug __debug -n " tracking..." - if [ ! "$checkouted_branch" -o ! "$(git config --get branch.$checkouted_branch.remote)" ] + if [ "$checkouted_branch" -a ! "$(git config --get branch.$checkouted_branch.remote)" ] then my_git_branch+=$C_$_gcl_colors[untracked]$_C my_git_branch+=" ✖" |