This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
# Save as on-add_annotate.py in hooks directory, then: | |
# $ chmod +x ~/.task/hooks/on-add_annotate.py | |
# | |
# Anything after "annotate:" in a new task's description is added as an | |
# annotation: | |
# $ task add this is the description annotate:this is an annotation | |
import json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Stops all previously active tasks on "task FILTER start" | |
# | |
# Only pending tasks are checked/stopped. If you really want to stop | |
# started tasks that are completed/deleted, remove the status:pending | |
# filter. Note that this will decrease performance, and should not | |
# be necessary. | |
tw_command="" | |
for i in "$@"; do |
OlderNewer