summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-01-12 09:15:48 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-01-12 09:15:48 +0100
commit503c63940b4026182b02bdd34ee611e4e76ea16a (patch)
tree096c4e421a43d81a7dd3b52e07e2e641ed19ef3c
parent67737097e0d6482d49eddb5403dfa31a90e5f3fb (diff)
devtodo completion: Added _format
-rw-r--r--etc/completions/_devtodo7
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 () {