summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-06-17 18:56:24 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-06-17 18:56:24 +0200
commitef1e6c5bb4e52154edd611e1d4c70d1836fc1ee4 (patch)
tree35fa2b569b7f3dda5b43fbccb627c50829a5ddb9
parentb86d01e8e25e2df469b4b48c8da5257337e08eaf (diff)
update gtd-move
-rw-r--r--etc/functions/gtd-move6
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}