]> git.notmuchmail.org Git - notmuch/commitdiff
Checkin some command-only tcsh completions
authorAlexander Botero-Lowry <alex.boterolowry@gmail.com>
Thu, 19 Nov 2009 01:15:43 +0000 (17:15 -0800)
committerCarl Worth <cworth@cworth.org>
Fri, 20 Nov 2009 17:15:19 +0000 (18:15 +0100)
Modified-by Carl Worth <cworth@cworth.org>: Just moved the file down
into contrib where the other completion scripts are.

contrib/notmuch-completion.tcsh [new file with mode: 0644]

diff --git a/contrib/notmuch-completion.tcsh b/contrib/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/'