summaryrefslogtreecommitdiff
path: root/by_os/Darwin
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2017-12-11 22:50:37 +0100
committerPatrick Simianer <p@simianer.de>2017-12-11 22:50:37 +0100
commit75ca26bab4634e4830eed95296b8fc2e2ee0e0a0 (patch)
tree8def7535d2fd3090a439f66f73f358de26b7284d /by_os/Darwin
parent8eee05b443fe81a09a73f82adc0a092f15070245 (diff)
mutt
Diffstat (limited to 'by_os/Darwin')
-rw-r--r--by_os/Darwin/mutt/.mutt/colors.rc25
-rw-r--r--by_os/Darwin/mutt/.mutt/mailcap2
-rwxr-xr-xby_os/Darwin/mutt/.mutt/open-in-safari8
3 files changed, 26 insertions, 9 deletions
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";
-) &
-