aboutsummaryrefslogtreecommitdiff
path: root/completion/zsh
AgeCommit message (Collapse)Author
2022-11-05cli: add options --offset and --limit to notmuch showRobin Jarry
notmuch search does not output header values. However, when browsing through a large email corpus, it can be time saving to be able to paginate without running notmuch show for each message/thread. Add --offset and --limit options to notmuch show. This is inspired from commit 796b629c3b82 ("cli: add options --offset and --limit to notmuch search"). Update man page, shell completion and add a test case to ensure it works as expected. Cc: Tim Culverhouse <tim@timculverhouse.com> Cc: Tomi Ollila <tomi.ollila@iki.fi> Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-01-03completion: use mail_root for path completion in bash/zshCédric Hannotier
Since mail store and database directory can be different, path and folder completions must use the directory given by database.mail_root, not by database.path.
2018-10-02completion: more complete completion for zsh.Vincent Breitmoser
This adds completion files for zsh that cover most of notmuch's cli. The files in completion/zsh are formatted so that they can be found by zsh's completion system if put $fpath. They are also registered to the notmuch-* pattern, so they can be called externally using _dispatch. Update installation recipe and drop debian/notmuch.examples to avoid breakage. This means zsh completion is not installed for debian, to be fixed in a future commit. Amended by db: use regexp searching for address completion. This seems to be fast enough to work without a cache.