summaryrefslogtreecommitdiff
path: root/etc/completions/_devtodo
diff options
context:
space:
mode:
Diffstat (limited to 'etc/completions/_devtodo')
-rw-r--r--etc/completions/_devtodo17
1 files changed, 13 insertions, 4 deletions
diff --git a/etc/completions/_devtodo b/etc/completions/_devtodo
index c1dd516..e05dd2c 100644
--- a/etc/completions/_devtodo
+++ b/etc/completions/_devtodo
@@ -88,8 +88,17 @@ function _priority () {
}
case $service in
- tda) _arguments -s $arg_add ;;
- tde|tdd) _arguments -s ':index:_index' ;;
- tdr) _arguments -s '*:index:_index' ;;
- *todo) _arguments -s $arg_generic ;;
+ tda)
+ _arguments -s $arg_add
+ ;;
+ tde|tdd)
+ _arguments -s ':index:_index'
+ ;;
+ tdr)
+ zstyle ':completion:*:tdr:*' ignore-line yes
+ _arguments -s '*:index:_index'
+ ;;
+ *todo)
+ _arguments -s $arg_generic
+ ;;
esac