> I have never had ls without color or column included (i'm spoiled) and
> google isn't being overly helpful at the moment. I found the cols
> command and ls | cols solved that so i can just create an alias, what
> about getting color? Is there a suckless solution?

An alias won't work here as you couldn't pass names to ls, and you
want to make sure you don't use cols when you use ls -l. As such I use
this (put in your .profile or similar):

s() { ls -F "$@" | cols; }

I like the indicators from -F, and naming it s leaves ls alone for other uses.

Reply via email to