dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

mailcap (746B)


      1 # Mailcap: mainly used for viewing attachments in (Neo)Mutt
      2 # So that HTML can render automatically in email
      3 text/html; w3m -v -F -o display_link_number=1 -I %{charset} -config /Users/alex/.config/w3m/config -T text/html %s; copiousoutput
      4 
      5 # Need a pager that doesn't quit automatically for plaintext
      6 text/plain; LESS="-Ric" less
      7 
      8 # Preview contents of tgz files
      9 application/x-tar-gz; tar tzf %s | less -R
     10 
     11 # Open pgp signatures as text
     12 application/pgp-signature; LESS="-Ric" less
     13 
     14 application/pdf; setsid -f /Applications/sioyek.app/Contents/MacOS/sioyek %s
     15 # Use the `opener` script for everything else
     16 image/*; setsid -f opener %s >/dev/null 2>&1
     17 video/*; setsid -f opener %s >/dev/null 2>&1
     18 application/*; setsid -f opener %s >/dev/null 2>&1