X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=shell%2Fdircolors.in;h=0df7768de3a7703ea750c50a41b3bb2ae5797748;hb=cb799456ef4a69ff5883b2f1d11b2b9f4eb325c9;hp=35a70014fdf4c488560e8322cb1c5ed767ab1460;hpb=5ce0b37429d5311d52568524c7a07785c95c97de;p=config%2Fdotfiles.git diff --git a/shell/dircolors.in b/shell/dircolors.in index 35a7001..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,17 +64,21 @@ 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 *todo 35;01