aboutsummaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
authorGravatar Alexander Botero-Lowry <alex.boterolowry@gmail.com>2009-11-18 17:15:43 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-11-20 18:15:19 +0100
commit5d0a01dceb67e9bdcb95bcb2328baef5e7ea7d52 (patch)
treebabd71a4801a25e0eee0c087e30034c2bd2d2e51 /contrib
parent14807ed2de1290740b56952561f745c0a5ab6168 (diff)
Checkin some command-only tcsh completions
Modified-by Carl Worth <cworth@cworth.org>: Just moved the file down into contrib where the other completion scripts are.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/notmuch-completion.tcsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/notmuch-completion.tcsh b/contrib/notmuch-completion.tcsh
new file mode 100644
index 00000000..c0d3a446
--- /dev/null
+++ b/contrib/notmuch-completion.tcsh
@@ -0,0 +1,2 @@
+set NOTMUCH_CMD=`notmuch help | awk '/\t/' | cut -f2 |grep -v '^$'`
+complete notmuch 'p/1/$NOTMUCH_CMD/'