starcraftman / zsh-git-prompt

[Active Fork] Informative git prompt for zsh
MIT License
58 stars 15 forks source link

Allow opt-in to show upstream branch #4

Closed starcraftman closed 6 years ago

starcraftman commented 6 years ago

In bash-git-prompt this is opted into with:

Enable by setting GIT_PROMPT_SHOW_UPSTREAM=1

This can take up a fair amount of space in the prompt. Definitely can't be default.

starcraftman commented 6 years ago

Example from bash-git-prompt. image

starcraftman commented 6 years ago

Current prompt, if the remote and current branch name match only show remote name and a slash. screenshot_20180531_084349