* PATCH: _quilt
@ 2005-09-20 20:02 Clint Adams
0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2005-09-20 20:02 UTC (permalink / raw)
To: zsh-workers
A start on quilt completion.
Index: Completion/Unix/Command/_quilt
===================================================================
RCS file: Completion/Unix/Command/_quilt
diff -N Completion/Unix/Command/_quilt
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ Completion/Unix/Command/_quilt 20 Sep 2005 20:01:00 -0000
@@ -0,0 +1,22 @@
+#compdef quilt
+
+local _quilt_subcommands expl curcontext="$curcontext"
+
+_arguments \
+ '--trace' \
+ '--quiltrc:config file:_files' \
+ '--version' \
+ '*::quilt command:->subcmd' && return 0
+
+
+ _quilt_subcommands=(add files import previous setup annotate fold mail
+ push snapshot applied fork new refresh top delete graph next remove
+ unapplied diff grep patches rename upgrade edit header pop series)
+
+
+if (( CURRENT == 1 )); then
+ _describe -t subcommand 'subcommand' _quilt_subcommands
+else
+ # this part should be tailored for subcmds
+ _files
+fi
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-09-20 20:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-20 20:02 PATCH: _quilt Clint Adams
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).