]> git.notmuchmail.org Git - notmuch/commitdiff
completion: complete bash completion rewrite
authorJani Nikula <jani@nikula.org>
Sun, 3 Mar 2013 20:59:28 +0000 (22:59 +0200)
committerDavid Bremner <bremner@unb.ca>
Thu, 28 Mar 2013 19:07:54 +0000 (15:07 -0400)
Rewrite the bash completion script to actually do something
useful. Supported completions:

* All the notmuch commands, command line arguments, and values for
  keyword arguments.

* Tags after + and - in 'notmuch tag'.

* Config options in 'notmuch config', and some config option values.

* Search prefixes in all commands that use search terms.

* Tags after tag: prefix in search terms.

* User's email addresses after from: and to: in search terms.

This is all based on the bash-completion package [1], and will not
work without it.

[1] http://bash-completion.alioth.debian.org/


No differences found