summaryrefslogtreecommitdiff
path: root/by_host/Darwin/mutt/.mutt/open-in-safari
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2017-05-21 16:22:39 +0200
committerPatrick Simianer <p@simianer.de>2017-05-21 16:22:39 +0200
commitab4c35e47bb6ccfd7c3af77c66e7d3af195c9917 (patch)
treebbd89c28b5453bd79c73aea18c807006e981b30f /by_host/Darwin/mutt/.mutt/open-in-safari
parent67b1777801cd56c663f6f27aa844fbec4f679349 (diff)
mutt
Diffstat (limited to 'by_host/Darwin/mutt/.mutt/open-in-safari')
-rwxr-xr-xby_host/Darwin/mutt/.mutt/open-in-safari8
1 files changed, 8 insertions, 0 deletions
diff --git a/by_host/Darwin/mutt/.mutt/open-in-safari b/by_host/Darwin/mutt/.mutt/open-in-safari
new file mode 100755
index 0000000..0e122f5
--- /dev/null
+++ b/by_host/Darwin/mutt/.mutt/open-in-safari
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+cp $1 $1.copy.html
+( open -a Safari "$1.copy.html";
+sleep 30;
+rm -f "$1.copy.html";
+) &
+