💻 Software
Mercurial. Colour output piped to less
Fresh5 days ago
Mar 15, 202610257 viewsConfidence Score0%
0%
Problem
Operating system: Mac OS 10.6.2 I'd like to be able to see colour output when piping certain commands through less. Two examples: I've got ls aliased to , so I'd like to be able to see colour when I do this: I've also got the color extension turned on in Mercurial, so I'd like to see colour output …
Error Output
ls -l | less
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Mercurial. Colour output piped to less
Low Risk
For mercurial, you should use the pager extension rather than piping explicitly to less. This will play nicely with the colored output options of other hg commands.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix