]> git.notmuchmail.org Git - notmuch/blobdiff - completion/notmuch-completion.tcsh
Rename the "contrib" directory to "completion".
[notmuch] / completion / notmuch-completion.tcsh
diff --git a/completion/notmuch-completion.tcsh b/completion/notmuch-completion.tcsh
new file mode 100644 (file)
index 0000000..c0d3a44
--- /dev/null
@@ -0,0 +1,2 @@
+set NOTMUCH_CMD=`notmuch help | awk '/\t/' | cut -f2 |grep -v '^$'`
+complete notmuch 'p/1/$NOTMUCH_CMD/'