]> git.madduck.net Git - etc/mutt.git/commitdiff

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:

edit ical before importing
authormartin f. krafft <madduck@madduck.net>
Mon, 10 Jul 2023 12:25:18 +0000 (14:25 +0200)
committermartin f. krafft <madduck@madduck.net>
Mon, 10 Jul 2023 12:25:18 +0000 (14:25 +0200)
.config/mutt/mailcap.icalendar

index 2c13a19063c64ef9edc24560a3d88e6267caa3b4..8f6f059983fc67afec9bdc752c75cee8dccd3b2f 100644 (file)
@@ -2,6 +2,6 @@
 # Mutt mailcap for iCalendar previewing/khal import
 
 text/calendar; ~/.config/mutt/icalparser; description=iCal details; copiousoutput; \
-  print=khal import '%s'
+  print=sh -c "sensible-editor '%s' && khal import '%s'";
 application/ics; ~/.config/mutt/icalparser; description=iCal details; copiousoutput; \
-  print=khal import '%s'
+  print=sh -c "sensible-editor '%s' && khal import '%s'";