https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230101
Bug ID: 230101
Summary: [PATCH] Enable ls colors when COLORTERM is defined
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Created attachment 195523
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195523&action=edit
Enable colors when COLORTERM defined
Color output is currently supported for ls via the CLICOLOR environment
variable which is unique to both the FreeBSD project and that particular
binary.
The defacto standard is COLORTERM and is set by all terminal emulators derived
from rxvt or those based on vte (the majority).
Attached patch enables color output for interactive shells started within the
above terminal emulators. All others, in particular system console and
non-interactive shells, remain unchanged.
It's my first patch so apologies if the format isn't exactly as required.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"