about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config/aerc.conf.in4
-rwxr-xr-xcontrib/hldiff1
-rwxr-xr-xcontrib/plaintext1
3 files changed, 2 insertions, 4 deletions
diff --git a/config/aerc.conf.in b/config/aerc.conf.in
index de1c3ec..b07317f 100644
--- a/config/aerc.conf.in
+++ b/config/aerc.conf.in
@@ -69,7 +69,7 @@ editor=
 # You can also match on non-mimetypes, by prefixing with the header to match
 # against (non-case-sensitive) and a comma, e.g. subject,text will match a
 # subject which contains "text". Use header,~regex to match against a regex.
-subject,~^\[PATCH=@SHAREDIR@/filters/hldiff
-text/*=@SHAREDIR@/filters/plaintext
+subject,~^\[PATCH=awk -f @SHAREDIR@/filters/hldiff
+text/*=awk -f @SHAREDIR@/filters/plaintext
 #text/html=@SHAREDIR@/filters/html
 #image/*=catimg -w $(tput cols) -
diff --git a/contrib/hldiff b/contrib/hldiff
index 5d7c422..b672e21 100755
--- a/contrib/hldiff
+++ b/contrib/hldiff
@@ -1,4 +1,3 @@
-#!/usr/bin/env -S awk -f
 # vim: set ft=awk :
 BEGIN {
 	bright = "\x1B[1m"
diff --git a/contrib/plaintext b/contrib/plaintext
index b7feb44..71e33f7 100755
--- a/contrib/plaintext
+++ b/contrib/plaintext
@@ -1,4 +1,3 @@
-#!/usr/bin/env -S awk -f
 # vim: set ft=awk :
 BEGIN {
 	dim = "\x1B[2m"