From 932954a8b1e31ae540e9df5e5e464100d46e53ec Mon Sep 17 00:00:00 2001 From: Roman Perepelitsa Date: Wed, 12 Jul 2023 15:01:32 +0200 Subject: [PATCH] do not display an indicator when a git branch is up to date with a remote https://github.com/romkatv/powerlevel10k/issues/2361 requested an indicator for up to date branches, which was added in 20323d6f8cd267805a793dafc840d22330653867. Since then, 3 users complained about the new indicator: - https://github.com/romkatv/powerlevel10k/issues/2377 - https://github.com/romkatv/powerlevel10k/issues/2380 - https://github.com/romkatv/powerlevel10k/issues/2361#issuecomment-1630731045 On one hand we have one request to add a feature. On the other hand we have three complaints about the feature's existence. The feature is going away. --- config/p10k-classic.zsh | 4 ++-- config/p10k-lean-8colors.zsh | 4 ++-- config/p10k-lean.zsh | 4 ++-- config/p10k-rainbow.zsh | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh index b61212ca..14ebd38c 100644 --- a/config/p10k-classic.zsh +++ b/config/p10k-classic.zsh @@ -434,8 +434,8 @@ (( VCS_STATUS_COMMITS_AHEAD && !VCS_STATUS_COMMITS_BEHIND )) && res+=" " (( VCS_STATUS_COMMITS_AHEAD )) && res+="${clean}⇡${VCS_STATUS_COMMITS_AHEAD}" elif [[ -n $VCS_STATUS_REMOTE_BRANCH ]]; then - # = if up to date with the remote. - res+=" ${clean}=" + # Tip: Uncomment the next line to display '=' if up to date with the remote. + # res+=" ${clean}=" fi # ⇠42 if behind the push remote. diff --git a/config/p10k-lean-8colors.zsh b/config/p10k-lean-8colors.zsh index 10b63cc7..917fe714 100644 --- a/config/p10k-lean-8colors.zsh +++ b/config/p10k-lean-8colors.zsh @@ -429,8 +429,8 @@ (( VCS_STATUS_COMMITS_AHEAD && !VCS_STATUS_COMMITS_BEHIND )) && res+=" " (( VCS_STATUS_COMMITS_AHEAD )) && res+="${clean}⇡${VCS_STATUS_COMMITS_AHEAD}" elif [[ -n $VCS_STATUS_REMOTE_BRANCH ]]; then - # = if up to date with the remote. - res+=" ${clean}=" + # Tip: Uncomment the next line to display '=' if up to date with the remote. + # res+=" ${clean}=" fi # ⇠42 if behind the push remote. diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh index 936854d8..97c7e288 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -425,8 +425,8 @@ (( VCS_STATUS_COMMITS_AHEAD && !VCS_STATUS_COMMITS_BEHIND )) && res+=" " (( VCS_STATUS_COMMITS_AHEAD )) && res+="${clean}⇡${VCS_STATUS_COMMITS_AHEAD}" elif [[ -n $VCS_STATUS_REMOTE_BRANCH ]]; then - # = if up to date with the remote. - res+=" ${clean}=" + # Tip: Uncomment the next line to display '=' if up to date with the remote. + # res+=" ${clean}=" fi # ⇠42 if behind the push remote. diff --git a/config/p10k-rainbow.zsh b/config/p10k-rainbow.zsh index 14dee5aa..53606ff2 100644 --- a/config/p10k-rainbow.zsh +++ b/config/p10k-rainbow.zsh @@ -435,8 +435,8 @@ (( VCS_STATUS_COMMITS_AHEAD && !VCS_STATUS_COMMITS_BEHIND )) && res+=" " (( VCS_STATUS_COMMITS_AHEAD )) && res+="${clean}⇡${VCS_STATUS_COMMITS_AHEAD}" elif [[ -n $VCS_STATUS_REMOTE_BRANCH ]]; then - # = if up to date with the remote. - res+=" ${clean}=" + # Tip: Uncomment the next line to display '=' if up to date with the remote. + # res+=" ${clean}=" fi # ⇠42 if behind the push remote.