tasknote
tasknote copied to clipboard
Associate a single text file with any task, updated for Taskwarrior 2. Original by Alan Bowen.
Single quotes are not allowed in the first line of the note (used to build the annotation). We propose to protect single quotes.
Avoid to create empty file if the note is empty. I ran 'tasknote 1' and finally I don't want to add a note to this task.
Add the sub-command 'd' to delete an existing note. tasknote 1 d
Add a / at the end of FOLDER if not exists. Otherwise, the file is named with the UUID stuck to the last folder. Sample: with FOLDER=/store/here, the file name...
Do not quote the FOLDER variable to expand ~. Otherwise a folder ~ is locally created.
- Support single quotes in first line of notes file - Infer folder path from task config - Support cancellation of edits, avoiding superfluous task annotations
If my note has a single quote -- even a backslashed single quote -- the script fails ``` zsh:1: unmatched ' ```
I suggest to remove default setting of Dropbox from the tasknote configuration, as this is not only an unfair promotion of a bad (from privacy point of view) product unto...