I've integrated TW into my shell prompt. The commands that are run for each prompt are the following:
task _get rc.context
task +READY count
task +READY +DUE count
task +READY due.before:today count
Since about two weeks ago or so I get random TW data file corruptions every few days.
For example:
Unrecognized Taskwarrior file format or blank line in data. in /Users/ulo/.task/pending.data at line 1
The only significant change has been that I upgraded to macOS 10.14.
My wild and totally unsubstantiated guess is that those commands are run concurrently and somehow don't properly lock files before modifying them.
I've integrated TW into my shell prompt. The commands that are run for each prompt are the following:
task _get rc.contexttask +READY counttask +READY +DUE counttask +READY due.before:today countSince about two weeks ago or so I get random TW data file corruptions every few days.
For example:
The only significant change has been that I upgraded to macOS 10.14.
My wild and totally unsubstantiated guess is that those commands are run concurrently and somehow don't properly lock files before modifying them.