Re: [Help-bash] change completion from ls to ls -l
From:
Chet Ramey
Subject:
Re: [Help-bash] change completion from ls to ls -l
Date:
Mon, 07 Apr 2014 08:28:56 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
On 4/7/14, 8:09 AM, Greg Wooledge wrote:
> On Mon, Apr 07, 2014 at 01:56:38AM -0400, Jonathan Reed wrote:
>> I've never been a fan of how ls shows directory listings, and the
>> completion on a command like so uses it
>> cp /etc/ <TAB> <TAB>
>
> Bash does not use ls to generate tab completions. It uses its own
> internal code.
This is true, though it's technically readline that handles it.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/