trapd00r / ls--

ls on steroids
505 stars 45 forks source link

-Properly aligns owner:group between columns. #55

Closed glubsy closed 7 years ago

glubsy commented 7 years ago

-Uses calling username as base for maximum column width (user:user) -Shrinks group name if too long, replaces ending chars with dots

Here is how it looked before: Classic ls++ mess!

Here is how it looks after patch: Patched ls++ neat colums

I was thinking of adding an option to manually set the maximum width of the column in case users found it too small. Let me know if it sounds good. I hope you'll merge this. Actually, if you merge something, merge anthraxx's instead! ;)

glubsy commented 7 years ago

anthraxx's patch is much better than mine, except it doesn't shrink user/group name if they're too long. Still, I'll be using his patch from now on. Closing this one.