X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=shell%2Fdircolors.in;h=0df7768de3a7703ea750c50a41b3bb2ae5797748;hb=cb799456ef4a69ff5883b2f1d11b2b9f4eb325c9;hp=bba92e6bfbec01467966806e5ca0c04c817b8917;hpb=4bcae02cfd13f42ff10cfef0f6400b98b73de336;p=config%2Fdotfiles.git diff --git a/shell/dircolors.in b/shell/dircolors.in index bba92e6..0df7768 100644 --- a/shell/dircolors.in +++ b/shell/dircolors.in @@ -34,6 +34,8 @@ LINK 36 # Orphaned symbolic links (nonexistent or not-statable): cyan with red # background. ORPHAN 36;41 +# Regular files with multiple hard links: underlined. +MULTIHARDLINK 04 # setuid and setgid files: bold red with yellow background (red because they # are executables). @@ -62,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