Skip to content
New issue

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

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

Already on GitHub? # to your account

Extract color definition loading as a function #260

Merged
merged 1 commit into from
Jun 9, 2016

Conversation

ogr3
Copy link
Contributor

@ogr3 ogr3 commented Jun 9, 2016

If the user has

GIT_PROMPT_ONLY_IN_REPO=1

the color definitions will not get loaded and

git_prompt_list_themes will not show any colors.

I broke out the color loading to a separate function, and call it from the list themes function as well.

Should fix #258

This was referenced Jun 9, 2016
@magicmonty magicmonty merged commit 6b9bb1c into magicmonty:master Jun 9, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

git_prompt_list_themes does not show colors
2 participants