Closed gour closed 2 years ago
@gour, the way to go is to define a regex that matches the annotation. You can use regex groups so that the msgid is will be made available in the environment variable $LAST_MATCH
by taskopen. Please have a look at the usage example in the README.
@gour, the way to go is to define a regex that matches the annotation. You can use regex groups so that the msgid is will be made available in the environment variable
$LAST_MATCH
by taskopen.
Thanks a lot!
I assume I need 2.0beta for that?
The example from the README is for 2.0, yet the feature was already implemented in 1.x only with a different config syntax (see taskopenrc.5.
Hello, I'd like to integrate (neo)mutt with Taskwarrior as I did with Claws-mail where I use
xdg-mime
mechanism.It was easy since Claws-mail can open message passed as message-filename, while (neo)mutt can only open via
msgid
.My integration script adds annotation so it looks like:
where the string denotes
msgid
.There is script to open (neo)mutt message by passing
msgid
or it can be done in a straightforward way with:Now, considering that both (neo)mutt and taskwarrior are CLI-apps, I do not required xdg-mime integration, but wonder if there is an easy way to configure Taskopen that it uses the above command when opening tasks annotated with (neo)mutt's
msgid
?I can install 2.0beta if required...