diff options
-rw-r--r-- | etc/functions/gtd-move | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/functions/gtd-move b/etc/functions/gtd-move index eed7861..3407f4e 100644 --- a/etc/functions/gtd-move +++ b/etc/functions/gtd-move @@ -10,13 +10,13 @@ if [[ ${#*} != 3 ]] { } typeset prefix="${HOME}/var/gtd" -typeset format='display=%T\n%p' +typeset format='display=%T' typeset from=${1} typeset itemno=${2} typeset to=${3} typeset IFS=$'\n' typeset -a item -item=($(todo --database ${prefix}/${from} --format ${format} ${itemno})) -todo --database ${prefix}/${to} --priority ${item[2]} --add ${item[1]} +item=$(todo --database ${prefix}/${from} --format ${format} ${itemno}) +todo --database ${prefix}/${to} --priority medium --add ${item} todo --database ${prefix}/${from} --remove ${itemno} |