Slackware: Difference between revisions

From Han Wiki
Jump to navigation Jump to search
add git colors
 
add category
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Installing Slackware 14.2]]
= git colors =
= git colors =


Line 6: Line 8:
git config --global core.pager "less -FXRS"
git config --global core.pager "less -FXRS"
</source>
</source>
[[Category:System administration]]

Latest revision as of 15:09, 26 May 2017

Installing Slackware 14.2

git colors

with "git config color.ui true" you may get characters like "ESC[33mblahblahblahESC[m" this is because the pager utility (less) doesn't default to writing escape sequences in the raw format (-R option).

git config --global core.pager "less -FXRS"