summaryrefslogtreecommitdiff
path: root/by_os/Darwin/mutt/.mutt/open-in-safari
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2017-06-20 17:02:06 +0200
committerPatrick Simianer <p@simianer.de>2017-06-20 17:02:06 +0200
commit461ba78442c1adeabe01059a57e36b429beffc71 (patch)
treeaef3668de1ce6b400c0a528e3aec7aecd3321c4b /by_os/Darwin/mutt/.mutt/open-in-safari
parent8d951f7cd852e39f79c91af2871f9bc1388d41a3 (diff)
fix
Diffstat (limited to 'by_os/Darwin/mutt/.mutt/open-in-safari')
-rwxr-xr-xby_os/Darwin/mutt/.mutt/open-in-safari8
1 files changed, 8 insertions, 0 deletions
diff --git a/by_os/Darwin/mutt/.mutt/open-in-safari b/by_os/Darwin/mutt/.mutt/open-in-safari
new file mode 100755
index 0000000..0e122f5
--- /dev/null
+++ b/by_os/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";
+) &
+