diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-01-12 09:15:48 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-01-12 09:15:48 +0100 |
commit | 503c63940b4026182b02bdd34ee611e4e76ea16a (patch) | |
tree | 096c4e421a43d81a7dd3b52e07e2e641ed19ef3c | |
parent | 67737097e0d6482d49eddb5403dfa31a90e5f3fb (diff) |
devtodo completion: Added _format
-rw-r--r-- | etc/completions/_devtodo | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/completions/_devtodo b/etc/completions/_devtodo index 79f6fe1..0368a24 100644 --- a/etc/completions/_devtodo +++ b/etc/completions/_devtodo @@ -118,6 +118,13 @@ function _filter { } function _format () { + typeset prefix + if [[ -prefix *= ]] { + _message 'format string' + } else { + _wanted expression expl 'format name' \ + compadd -S '=' display generated verbose-display verbose-generated + } } function _priority () { |