Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow different color for master branch #363

Merged
merged 2 commits into from
Dec 18, 2017

Commits on Dec 17, 2017

  1. Allow different color for master branch

    - 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
    Christian Boltz committed Dec 17, 2017
    Configuration menu
    Copy the full SHA
    4b8c8da View commit details
    Browse the repository at this point in the history
  2. 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.
    Christian Boltz committed Dec 17, 2017
    Configuration menu
    Copy the full SHA
    7deca31 View commit details
    Browse the repository at this point in the history