]> git.notmuchmail.org Git - notmuch/commit
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)
commit2302fd7925ab624d2fd17ba6bceabf656e6ad741
tree26533c90cf49391ddf56d4bca248ca228e15aed3
parentb714a808a692a99c1b936be43186a40ab251aeca
completion: complete bash completion rewrite

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/
completion/notmuch-completion.bash