]> granicus.if.org Git - neomutt/commitdiff
Add sample colour file
authorGuillaume Brogi <gui-gui@netcourrier.com>
Sat, 20 Aug 2016 13:56:52 +0000 (15:56 +0200)
committerRichard Russon <rich@flatcap.org>
Wed, 7 Sep 2016 12:53:09 +0000 (13:53 +0100)
This file colours the results of GPGME checks.

contrib/Makefile.am
contrib/sample.colors.attach_headers [new file with mode: 0644]

index efd93e7e13072f191cd7163ad61847f5d72b08ee..e3484c75ab30df8d5aeb73dd00d3e6c236d3369c 100644 (file)
@@ -5,7 +5,8 @@ subdir = contrib
 SAMPLES = Mush.rc Pine.rc gpg.rc pgp2.rc pgp5.rc pgp6.rc Tin.rc \
        sample.muttrc  sample.mailcap sample.muttrc-tlr \
        colors.default colors.linux smime.rc \
-       ca-bundle.crt smime_keys_test.pl mutt_xtitle
+       ca-bundle.crt smime_keys_test.pl mutt_xtitle \
+       sample.colors.attach_headers
 
 EXTRA_DIST = language.txt language50.txt  \
        patch.slang-1.2.2.keypad.1      \
diff --git a/contrib/sample.colors.attach_headers b/contrib/sample.colors.attach_headers
new file mode 100644 (file)
index 0000000..d7e6c0c
--- /dev/null
@@ -0,0 +1,22 @@
+# Color if the attachment is autoviewed
+color   attach_headers     brightgreen     default        "Autoview"
+
+# Color only the brackets around the headers
+color   attach_headers     brightyellow    default        "^\\[--"
+color   attach_headers     brightyellow    default        "--]$"
+
+# Color the mime type and the size
+color   attach_headers     green           default        "Type: [a-z]+/[a-z0-9\-]+"
+color   attach_headers     green           default        "Size: [0-9\.]+[KM]"
+
+# Color GPGME signature checks
+color   attach_headers     brightgreen     default        "Good signature from.*"
+color   attach_headers     brightred       default        "Bad signature from.*"
+color   attach_headers     brightred       default        "BAD signature from.*"
+color   attach_headers     brightred       default        "Note: This key has expired!"
+color   attach_headers     brightmagenta   default        "Problem signature from.*"
+color   attach_headers     brightmagenta   default        "WARNING: This key is not certified with a trusted signature!"
+color   attach_headers     brightmagenta   default        "         There is no indication that the signature belongs to the owner."
+color   attach_headers     brightmagenta   default        "can't handle these multiple signatures"
+color   attach_headers     brightmagenta   default        "signature verification suppressed"
+color   attach_headers     brightmagenta   default        "invalid node with packet of type"