From: martin f. krafft Date: Mon, 10 Jul 2023 12:25:18 +0000 (+0200) Subject: edit ical before importing X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/7c5b26c61ffd9a6ec42edf94fa09259ac501b4ee?ds=sidebyside edit ical before importing --- diff --git a/.config/mutt/mailcap.icalendar b/.config/mutt/mailcap.icalendar index 2c13a19..8f6f059 100644 --- a/.config/mutt/mailcap.icalendar +++ b/.config/mutt/mailcap.icalendar @@ -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'";