On 1/26/10 10:36 AM, Peng Yu wrote:
> I'm wondering if it is possible to color the files shown by command
> completion (i.e. after typing <TAB>). The color scheme can be of the
> same as the one used in "ls --color=auto". By this way, it is easier
> to see what the type of the file is.

You mean the list of possible completions?  It's not exactly what you
asked for, but look at the readline `visible-stats' variable.  That
produces output in the style of `ls -F'.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/


Reply via email to