From 75ca26bab4634e4830eed95296b8fc2e2ee0e0a0 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Mon, 11 Dec 2017 22:50:37 +0100
Subject: mutt
---
by_os/Darwin/mutt/.mutt/colors.rc | 25 ++++++++++++++++
by_os/Darwin/mutt/.mutt/mailcap | 2 +-
by_os/Darwin/mutt/.mutt/open-in-safari | 8 ------
mutt/.mutt/muttrc | 52 +++++++---------------------------
mutt/.mutt/personal.rc | 12 ++++++++
mutt/.mutt/private.rc | 12 --------
mutt/.mutt/work.rc | 2 +-
7 files changed, 50 insertions(+), 63 deletions(-)
create mode 100644 by_os/Darwin/mutt/.mutt/colors.rc
delete mode 100755 by_os/Darwin/mutt/.mutt/open-in-safari
create mode 100644 mutt/.mutt/personal.rc
delete mode 100644 mutt/.mutt/private.rc
diff --git a/by_os/Darwin/mutt/.mutt/colors.rc b/by_os/Darwin/mutt/.mutt/colors.rc
new file mode 100644
index 0000000..df2ca26
--- /dev/null
+++ b/by_os/Darwin/mutt/.mutt/colors.rc
@@ -0,0 +1,25 @@
+color normal color0 color231
+color error brightcolor15 color196
+color indicator color201 color255
+color status color243 color231
+color hdrdefault color245 color231
+color header color231 color0 "^(Subject): "
+color signature color243 color231
+color body color21 color231 "[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+"
+color body color21 color231 "((https?|ftp)://|www)+[\-\.\;@,/%~_:?&=\#a-zA-Z0-9+]+"
+color quoted color243 color231
+color quoted1 color196 color231
+color quoted2 color22 color231
+color quoted3 color130 color231
+color quoted4 color51 color231
+color tilde color243 color231
+color tree color238 color231
+color attachment color196 color231
+color index color201 color231 "~N"
+color index color243 color231 "~P"
+color index brightcolor221 color231 "~F"
+color index brightcolor39 color231 "~T"
+color index color196 color231 "~D"
+color sidebar_new black white
+color sidebar_flagged black white
+unset help
diff --git a/by_os/Darwin/mutt/.mutt/mailcap b/by_os/Darwin/mutt/.mutt/mailcap
index a319c8c..2e26570 100644
--- a/by_os/Darwin/mutt/.mutt/mailcap
+++ b/by_os/Darwin/mutt/.mutt/mailcap
@@ -1,5 +1,5 @@
image/*; cat - | open -W -F -n %s > /dev/null
-text/html; ~/.mutt/open-in-safari %s
+text/html; cat %s > %s.html && /Users/pks/local_bin/open-in-browser %s.html
text/html; w3m -I %{charset} -O utf-8 -T text/html -dump %s; copiousoutput
text/*; cat - | open -W -F -n %s > /dev/null
application/*; cat - | open %s >/dev/null
diff --git a/by_os/Darwin/mutt/.mutt/open-in-safari b/by_os/Darwin/mutt/.mutt/open-in-safari
deleted file mode 100755
index 0e122f5..0000000
--- a/by_os/Darwin/mutt/.mutt/open-in-safari
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-cp $1 $1.copy.html
-( open -a Safari "$1.copy.html";
-sleep 30;
-rm -f "$1.copy.html";
-) &
-
diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc
index 8284bc6..89d1889 100644
--- a/mutt/.mutt/muttrc
+++ b/mutt/.mutt/muttrc
@@ -5,7 +5,7 @@ set header_cache = ~/.mutt/cache/headers
set message_cachedir = ~/.mutt/cache/messages
set mailcap_path = ~/.mutt/mailcap
set signature = ~/.mutt/sig
-set tmpdir = ~/.mutt/tmp
+set tmpdir = /tmp/mutt
set realname = "Patrick Simianer"
set from = "p@simianer.de"
set use_from = yes
@@ -19,8 +19,8 @@ auto_view text/html
# macros
set wait_key = no
-macro index,pager G "