X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=shell%2Fdircolors.in;h=0df7768de3a7703ea750c50a41b3bb2ae5797748;hb=cb799456ef4a69ff5883b2f1d11b2b9f4eb325c9;hp=59d1365f0a7244c5b1ab09645997301f299c5faa;hpb=5efc050967341ae8dc569496642ca311a41370f7;p=config%2Fdotfiles.git diff --git a/shell/dircolors.in b/shell/dircolors.in index 59d1365..0df7768 100644 --- a/shell/dircolors.in +++ b/shell/dircolors.in @@ -64,16 +64,19 @@ BLK 00 CHR 00 -# Color important files which might be overlooked in full directories. `ls` -# can't color matching files, only matching extensions; therefore use the -# filename as extension. As most filenames have no weird extensions like -# ".README", this should work fine. +# Color important files which might be overlooked in full directories. +# +# `ls` can't color matching files, only matching extensions and suffixes; +# therefore use the suffix (which is a superset of matching extensions). As +# most filenames have no weird suffixes like "filenameNEWS", this should work +# fine most of the time. +# +# *foo matches files ending with foo, .foo only files with a foo extension +# (e.g. example.foo). # Read-me files (e.g. README, program.readme, etc.): bold magenta. *README 35;01 *readme 35;01 -.README 35;01 -.readme 35;01 # Misc files: bold magenta. *NEWS 35;01 *TODO 35;01