Skip to content

Commit

Permalink
feat(branch): show symbol in mismatched upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
olets committed Apr 21, 2020
1 parent 6fb9448 commit 87124fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion porcelain-prompt.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function gitstatus_prompt_update() {
w+="$PORCELAIN_PROMPT_SYMBOL_AHEAD "

if [[ $VCS_STATUS_LOCAL_BRANCH != $VCS_STATUS_REMOTE_BRANCH ]]; then
w+="%${PORCELAIN_PROMPT_COLOR_REMOTE}F${VCS_STATUS_REMOTE_BRANCH}"
w+="%${PORCELAIN_PROMPT_COLOR_REMOTE}F${PORCELAIN_PROMPT_SYMBOL_BRANCH}${VCS_STATUS_REMOTE_BRANCH}"

if (( not_default_remote )); then
w+="/"
Expand Down

0 comments on commit 87124fe

Please sign in to comment.