summaryrefslogtreecommitdiffstats
path: root/completion
diff options
context:
space:
mode:
authorTodd <todd@electricoding.com>2015-01-22 17:43:39 -0600
committerDavid Bremner <david@tethera.net>2015-01-24 16:50:02 +0100
commit694c7b9ba7c83eba10105f0f151884dcdb90426d (patch)
tree2b90731835ec0955ef76127f2e3079ec97fea645 /completion
parentb04bc967f9837e9d451ef88c276c744aa55accaa (diff)
Update completions for Emacs and bash
This adds completions for both Emacs and bash. ZSH does not appear to have completions for search terms.
Diffstat (limited to 'completion')
-rw-r--r--completion/notmuch-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/completion/notmuch-completion.bash b/completion/notmuch-completion.bash
index d58dc8be..39320f8d 100644
--- a/completion/notmuch-completion.bash
+++ b/completion/notmuch-completion.bash
@@ -61,7 +61,7 @@ _notmuch_search_terms()
sed "s|^$path/||" | grep -v "\(^\|/\)\(cur\|new\|tmp\)$" ) )
;;
*)
- local search_terms="from: to: subject: attachment: tag: id: thread: folder: path: date:"
+ local search_terms="from: to: subject: attachment: mimetype: tag: id: thread: folder: path: date:"
compopt -o nospace
COMPREPLY=( $(compgen -W "${search_terms}" -- ${cur}) )
;;