Skip to content

Commit 829bf34

Browse files
DrInfiniteExplorerMatthias Putz
authored andcommitted
Modify: updated settings for less for colour handling
1 parent 1daad89 commit 829bf34

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,11 @@ For more detailed instructions regarding git-repo usage, please visit [git-repo]
7777
#### FAQ Troubleshooting ###
7878

7979
##### I can not see any colors for `repo status` #####
80-
The pager which is used for `repo status` is set per default to `less` which is not capable of parsing color codes on Windows. This can be fixed by setting the default pager to `more`. This can be done by
80+
The pager which is used for `repo status` is set per default to `less`, which unless otherwise configured will ignore escape sequences. You can set the environment variable `LESS` to `-FRSX` to make `less` handle colors.
81+
_(You might also want to set `LESSCHARSET` to `utf-8`)_
82+
83+
##### It still doesn't work! ###
84+
You can try using `more` as your pager of choice. It doesn't behave exactly the same as `less` but it might be enough for you.
8185

8286
git config --global core.pager more
8387

0 commit comments

Comments
 (0)