Monday, December 19, 2011

slackware & git colors

By default in Slackware, the colors in git are not displayed correct. If you enable colors in git with a command like this:
git config color.ui true
instead of colored text you see escape characters like those below:
This has to do with the fact that `less' which is used by git to display pages doesn't by default output escape sequences in "raw" form to the terminal (you need apply to use -R option). Executing something like this will fix the issue:
git config --global core.pager "less -FXRS"


Anonymous said...

I'm amazed, I have to admit. Seldom do I come across a blog that's both equally educative and amusing, and without a doubt, you've hit the nail on the head.

The problem is something which too few men and women are speaking intelligently about.
I'm very happy I stumbled across this in my search for something
relating to this.

Also visit my website: Tooth Whitening Pen

Anonymous said...

Ɗoes ʏour website have a contact pаge? I'm hаving trouble locating іt but,
І'd like tօ shoot уoս an е-mail. I've got some ideas
fοr your blog уoս miight ƅe interested in hearing.
Еither way, grеat website and Ι look forward tο seeіng it develop ovrr time.

Ϻy web-site lean Cuisine salad additions coupons

Anonymous said...

Amazing! This blog looks just like my old one!
It's on a completely different topic but it has pretty much the same
layout and design. Great choice of colors!

Feel free to visit my web site ... i need to fix my credit