[PATCH] Checkin some command-only tcsh completions

classic Classic list List threaded Threaded
2 messages Options
Alexander Botero-Lowry Alexander Botero-Lowry
Reply | Threaded
Open this post in threaded view
|

[PATCH] Checkin some command-only tcsh completions

---
 notmuch-completion.tcsh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
 create mode 100644 notmuch-completion.tcsh

diff --git a/notmuch-completion.tcsh b/notmuch-completion.tcsh
new file mode 100644
index 0000000..c0d3a44
--- /dev/null
+++ b/notmuch-completion.tcsh
@@ -0,0 +1,2 @@
+set NOTMUCH_CMD=`notmuch help | awk '/\t/' | cut -f2 |grep -v '^$'`
+complete notmuch 'p/1/$NOTMUCH_CMD/'
--
1.6.5.2


Carl Worth-2 Carl Worth-2
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] Checkin some command-only tcsh completions

On Wed, 18 Nov 2009 17:15:43 -0800, Alexander Botero-Lowry <[hidden email]> wrote:
> diff --git a/notmuch-completion.tcsh b/notmuch-completion.tcsh

Thanks, Alexander.

I moved this down into contrib where our other completion scripts are
and pushed it out.

-Carl