|
From: | Ed Avis |
Subject: | dircolors enhancement: warn on unknown TERM |
Date: | Sun, 22 Jul 2007 12:15:17 +0100 (BST) |
If you don't want to issue a warning in the general case then at least do so when stdout is a tty. In this day and age all terminals are colour-capable and ls(1) assumes this. Dircolors produces empty output on a tty that's not recognized. But an empty LS_COLORS environment variable does not tell ls to avoid colorization, just to use the default colour scheme.
-- Ed Avis <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |