dotfiles

commit 5d5acf8eef54ddeb0c6cb4c8575d695e6f6c2ebc

Author: Honza Pokorny <honza@redhat.com>

Open them attachments

 mutt/view_attachment.sh | 11 +++++++----


diff --git a/mutt/view_attachment.sh b/mutt/view_attachment.sh
index 3b4848b40f60320acfacb71236c0a0ad134d133e..969883267c0e10153c2dbf6c94d81b53373f7bca 100755
--- a/mutt/view_attachment.sh
+++ b/mutt/view_attachment.sh
@@ -55,10 +55,6 @@ #             be written to /tmp/mutt_attach/debug so you can see what is going on.
 #
 # See Also:  The man pages for open, file, basename
 #
-
-echo "hi from view attachment"
-echo $@
-
 # the tmp directory to use.
 tmpdir="$HOME/.tmp/mutt_attach"
 
@@ -141,6 +137,13 @@ if [ $type = "pdf" ]; then
     evince $newfile
     exit 0;
 fi
+
+if [ $type = "html" ]; then
+    # google-chrome --auth-server-whitelist="*.redhat.com" $newfile
+    firefox $newfile
+    exit 0;
+fi
+
 
 if [ -z $open_with ]; then
     echo "simple"