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

No colors in git bash on windows #3077

Closed
matklad opened this issue Sep 7, 2016 · 5 comments
Closed

No colors in git bash on windows #3077

matklad opened this issue Sep 7, 2016 · 5 comments

Comments

@matklad
Copy link
Member

matklad commented Sep 7, 2016

Hi! I don't get colored output when using Git Bash on windows:

colors

cc @Stebalien

@Stebalien
Copy link
Contributor

What's your $TERM?

@Stebalien
Copy link
Contributor

Actually, that's probably Stebalien/term#58. Now that my thesis is "done" (well, submitted) I should have time to fix this once and for all.

@matklad
Copy link
Member Author

matklad commented Sep 7, 2016

Yep, doing TERMINFO=$(cygpath -w /usr/share/terminfo) cargo build --color always does the trick. I somehow assumed that "only a very minimal set of operations are supported on mys2/cygwin" includes colors, and that this one is a different issue then. I was wrong, so this could be closed :)

@zubair1024
Copy link

What is the fix again? I'm lost!

@ehuss
Copy link
Contributor

ehuss commented Aug 21, 2018

@zubair1024 colors should "just work" on msys terminals. Is it not working for you? Can you provide more detail on your environment (versions you are using, etc.)?

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

No branches or pull requests

4 participants