bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Colored command completion


From: Chet Ramey
Subject: Re: Colored command completion
Date: Tue, 26 Jan 2010 11:34:19 -0500
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1

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    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]