aboutsummaryrefslogtreecommitdiffhomepage
path: root/completion/notmuch-completion.tcsh
diff options
context:
space:
mode:
Diffstat (limited to 'completion/notmuch-completion.tcsh')
-rw-r--r--completion/notmuch-completion.tcsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/completion/notmuch-completion.tcsh b/completion/notmuch-completion.tcsh
new file mode 100644
index 00000000..c0d3a446
--- /dev/null
+++ b/completion/notmuch-completion.tcsh
@@ -0,0 +1,2 @@
+set NOTMUCH_CMD=`notmuch help | awk '/\t/' | cut -f2 |grep -v '^$'`
+complete notmuch 'p/1/$NOTMUCH_CMD/'