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

Turn prompt red when in a dirty git repo #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Brottweiler
Copy link

@Brottweiler Brottweiler commented Mar 12, 2021

The prompt currently includes an unused _is_git_dirty function that we can use to turn the fish red when in a dirty git repo. It will still be green in a non dirty git repo and blue outside of git repos like usual.

The README line Shows an ASCII fish which is blue or green when in a git repo. probably needs to be tweaked to mention this but I am not sure how to word it the best way.

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.

1 participant