Hey Alfredo,

If you're using linux you can add the following to .sup/hooks/mime-view.rb:

pid = Process.spawn("xdg-open", filename,                                                                                        
                     :out => '/dev/null',                                                                                         
                     :err => '/dev/null')                                                                                         
                                                                                                                                 
Process.detach pid                                                                                                               
                                                                                                                                 
true     

This will open any filetype in the application associated with it (libreoffice documents, pdfs, etc). Just scroll to the file and hit 'enter'.

On Monday, June 29, 2015 at 12:32:49 PM UTC-4, Alfredo Palhares wrote:
Hello everyone,

Can I set sup to open HTML only emails with chromium ?
It a pain in arse to always save the attachment and then open the file with
chromium.

Regards,

--
Alfredo Palhares
GPG/PGP Key Fingerprint
68FC B06A 6C22 8B9B F110
38D6 E8F7 4D1F 0763 CAAD