aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-02-19 23:07:23 +0100
committerRobin Jarry <robin@jarry.cc>2022-02-19 23:11:03 +0100
commit6c460493efafb065822a9bb4454599f5c6522c61 (patch)
tree12c5c5fbc3837268fe035762eee4a460c8d19b7b
parent20cfef95ff715a56b4b708fc57c605a2a8b06c14 (diff)
downloadaerc-6c460493efafb065822a9bb4454599f5c6522c61.tar.gz
config: fix default text/plain filter0.8.0
; is a special character for the INI format. It starts a comment and apparently cannot be escaped nor quoted. This causes the default text/plain filter to be truncated and causes this obscure error when viewing a message: sh: 1: Syntax error: Unterminated quoted string Debugging shows that the filter command is: sh -c "sed 's/^>\\+.*/\\x1b[2" Remove the explicit dim style. It should be the default anyway. Fixes: 7c3ce816c8a6 ("config: set a default filter for text/plain") Signed-off-by: Robin Jarry <robin@jarry.cc>
-rw-r--r--config/aerc.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/aerc.conf b/config/aerc.conf
index 66b08ad9..7a5e4238 100644
--- a/config/aerc.conf
+++ b/config/aerc.conf
@@ -222,7 +222,7 @@ reply-to-self=true
# 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=colordiff
-text/plain=sed 's/^>\+.*/\x1b[2;36m&\x1b[0m/'
+text/plain=sed 's/^>\+.*/\x1b[36m&\x1b[0m/'
#text/html=pandoc -f html -t plain
#image/*=catimg -w $(tput cols) -