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

Re: ls'ing dirs before files



On Mon, 29 Jul 2002 00:58:10 +0200, martin f krafft wrote:

>also sprach Colin Watson <cjwatson@debian.org> [2002.07.29.0055 +0200]:
>> > I am thinking that it's new to woody.
>> 
>> No, no, no, I mean that I don't see the "list directories first, then
>> files" behaviour on either potato or woody.
>
>ack. i can't reproduce it anymore since i don't have a potato system
>around anymore. anyway, it doesn't matter. fact is that i'd like to
>jave dir-first sorting. it should totally be an option to ls. should
>i file a wishlist bug?

The more I think about, the handier that sounds.  Until Herr Kringle
fills the stockings, here's another novice attempt.  In .bashrc,

alias dir='ls -al | grep ^d && ls -al | grep ^[^d]'
--
gt          kk5st@swbell.net
Yes I fear I am living beyond my mental means--Nash


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: