]> git.madduck.net Git - etc/neomutt.git/blobdiff - .config/neomutt/mailcap.icalendar

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

clean ical attachments of teams crap
[etc/neomutt.git] / .config / neomutt / mailcap.icalendar
index c6816fcbabfb6285e43dd17bc53190c63fa25a28..e681ffac0577c542f4c1883b4a4c790052d7a1cc 100644 (file)
@@ -2,6 +2,6 @@
 # Neomutt mailcap for iCalendar previewing/khal import
 
 text/calendar; ~/.config/neomutt/icalparser; description=iCal details; copiousoutput; \
-  print=sh -c "sensible-editor '%s' && khal import '%s'";
+  print=sh -c "~/.config/neomutt/icalcleaner '%s' && sensible-editor '%s' && khal import '%s'";
 application/ics; ~/.config/neomutt/icalparser; description=iCal details; copiousoutput; \
-  print=sh -c "sensible-editor '%s' && khal import '%s'";
+  print=sh -c "~/.config/neomutt/icalcleaner '%s' && sensible-editor '%s' && khal import '%s'";