Skip to content

Conversation

@cboltz
Copy link

@cboltz cboltz commented Dec 17, 2017

  • add $GIT_PROMPT_MASTER_BRANCH - color for master branch
  • add $GIT_PROMPT_MASTER_BRANCHES - branch name(s) that use $GIT_PROMPT_MASTER_BRANCH color, 'master' by default)

All other branches will continue to use $GIT_PROMPT_BRANCH

Also add $GIT_PROMPT_MASTER_BRANCH to all themes that set $GIT_PROMPT_BRANCH, using the same color as $GIT_PROMPT_BRANCH to avoid unintended changes.

Fixes #311

Christian Boltz added 2 commits December 17, 2017 23:13
- add $GIT_PROMPT_MASTER_BRANCH - color for master branch
- add $GIT_PROMPT_MASTER_BRANCHES - branch name(s) that use
  $GIT_PROMPT_MASTER_BRANCH color, 'master' by default)

All other branches will continue to use $GIT_PROMPT_BRANCH

Fixes magicmonty#311
... that set $GIT_PROMPT_BRANCH, using the same color as
$GIT_PROMPT_BRANCH to avoid unintended changes.
@magicmonty magicmonty merged commit 7deca31 into magicmonty:master Dec 18, 2017
@magicmonty
Copy link
Owner

Nice idea, thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants