todotxt-addons/addp

10 lines
207 B
Bash
Executable File

#!/bin/bash
[ "$1" = "usage" ] && echo ' addz "THING I NEED TO DO +project @context"' && echo " add an item with z priority" && exit 0
shift
pri="$1"
shift
"$TODO_FULL_SH" command add "($pri) $@"