From 131f6687ead07242428a1f83156d939f2979ba06 Mon Sep 17 00:00:00 2001 From: Federico Hernandez Date: Sun, 5 Jul 2009 00:43:34 +0200 Subject: [PATCH] Enhancement: - Completion list for commands is now compiled dynamicaly using a task command. - Completion now also works for direct task manipulations with IDs eg task 3 -FOO pro:ERNIE or task 2 done --- scripts/bash/task_completion.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bash/task_completion.sh b/scripts/bash/task_completion.sh index 42535e03a..ea1843fef 100644 --- a/scripts/bash/task_completion.sh +++ b/scripts/bash/task_completion.sh @@ -64,7 +64,7 @@ _task() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" - opts="active add all annotate append calendar color completed delete done duplicate edit export ghistory help history import info list long ls newest next oldest overdue projects recurring shell start stats stop summary tags timesheet undo version waiting" + opts="$(task _commands) $(task _ids)" case "${cur}" in pro*:*)