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

Colour highlighting for the match itself #11

Open
pimterry opened this issue Jul 29, 2016 · 1 comment
Open

Colour highlighting for the match itself #11

pimterry opened this issue Jul 29, 2016 · 1 comment

Comments

@pimterry
Copy link
Owner

pimterry commented Jul 29, 2016

Currently grep outputs the line by line matches. Weirdly, grep itself is happy to output in colour (visible if run directly on my machine) but the colour disappears if it's run inside the git hook. Maybe git blocks it? Maybe grep tries to detect colour support, and can't find it?

@pimterry pimterry changed the title Better colour highlighting Colour highlighting Jul 29, 2016
@pimterry
Copy link
Owner Author

pimterry commented Aug 1, 2016

Diff now gives colours (with --color=always). Bolding the word matches would be nice: http://stackoverflow.com/questions/2924697/how-does-one-output-bold-text-in-bash

@pimterry pimterry changed the title Colour highlighting Colour highlighting for the match itself Aug 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant