diff options
-rw-r--r-- | etc/completions/_devtodo | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/etc/completions/_devtodo b/etc/completions/_devtodo index 7a3f326..b367eea 100644 --- a/etc/completions/_devtodo +++ b/etc/completions/_devtodo @@ -91,7 +91,6 @@ function _todo_index () { for entry in $(todo $todo_opts -f +children --format display='%1>%i%n:%t\n'); do number=${entry%%:*} depth=$(( ${#number} - ${#${number// }} )) - # FIXME the subscripts operate on the string instead of the array ((depth)) && entry=${(j:.:)${${(s:.:):-a.${last_entry%%:*}}[2,depth+1]}}.$entry text=${entry#*:} number=${${entry%%:*}// } |