summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-09-06 11:59:12 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-09-06 11:59:12 +0200
commit565ba86a6d14155e0efa5b5343c31fa930010af0 (patch)
tree953c40f4f03777508f2212a2b3b165ff9b653822
parent8e1e823cd160145fda3921d75ecac767bcd5e9d8 (diff)
devtodo completion: zstyle ignore-line yes for tdr
-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