diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-09-17 14:47:21 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-09-17 14:47:21 +0200 |
commit | 31796c68ede16b31976da1a9def4837758cd60b3 (patch) | |
tree | 7e0bcdef2f43ad5fdbcd85f8d1aa6411187f04b5 | |
parent | aff439744dc773605c2bf202c34aa42592445504 (diff) |
devtodo completion: Fixed _color
-rw-r--r-- | etc/completions/_devtodo | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/etc/completions/_devtodo b/etc/completions/_devtodo index 5d964d4..a7c6f05 100644 --- a/etc/completions/_devtodo +++ b/etc/completions/_devtodo @@ -79,20 +79,14 @@ function _index () { _describe index index } -function _item () { - _wanted item expl 'item' \ - compadd veryhigh high medium low verylow title info -} - function _color () { typeset suf if compset -P '*='; then _wanted color expl 'color' \ compadd black red green yellow blue magenta cyan white default else - compset -S '=*' || suf='=' _wanted item expl 'item' \ - _combination -s '[:=]' item item-color item -S $suf -q "$@" - + compadd -S'=' veryhigh high medium low verylow title info fi } |