trapd00r / ls--

ls on steroids
505 stars 45 forks source link

Colorize file type (socket/block/char/pipe) & First match wins #28

Closed mkomitee closed 11 years ago

mkomitee commented 12 years ago

This is two new features.

  1. Allow the user to colorize based on file type (different color for directories, sockets, character/block special devices, pipes, etc)
  2. If there is more than one pattern that matches, the first match wins.
mkomitee commented 12 years ago

To reliably prioritize patterns, I switched to explicit ordering using an array of array's instead of a hash, since hash ordering is not guaranteed.

mkomitee commented 11 years ago

I dub thee, abandoned.