summaryrefslogtreecommitdiff
path: root/etc/completions/_devtodo
diff options
context:
space:
mode:
Diffstat (limited to 'etc/completions/_devtodo')
-rw-r--r--etc/completions/_devtodo2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/completions/_devtodo b/etc/completions/_devtodo
index b367eea..0ff9039 100644
--- a/etc/completions/_devtodo
+++ b/etc/completions/_devtodo
@@ -88,7 +88,7 @@ function _todo_index () {
-u) todo_opts+=(--filter done)
esac
done
- for entry in $(todo $todo_opts -f +children --format display='%1>%i%n:%t\n'); do
+ for entry in $(command todo $todo_opts -f +children --format display='%1>%i%n:%t\n'); do
number=${entry%%:*}
depth=$(( ${#number} - ${#${number// }} ))
((depth)) && entry=${(j:.:)${${(s:.:):-a.${last_entry%%:*}}[2,depth+1]}}.$entry