From: Clint Adams <clint@zsh.org>
To: Ansgar Burchardt <ansgar@debian.org>
Cc: zsh-workers@zsh.org, 691601@bugs.debian.org
Subject: Re: completion for dak not helpful (Completion/Debian/Command/_dak)
Date: Fri, 28 Jun 2013 18:29:47 +0000 [thread overview]
Message-ID: <20130628182947.GA19128@scru.org> (raw)
In-Reply-To: <51CC66EA.3000006@debian.org>
On Thu, Jun 27, 2013 at 06:23:06PM +0200, Ansgar Burchardt wrote:
> Many subcommands do not offer filename completion even though the
> command accepts files. That's really annoying.
This should help with that problem.
diff --git a/Completion/Debian/Command/_dak b/Completion/Debian/Command/_dak
index 5aaaeef..840fc00 100644
--- a/Completion/Debian/Command/_dak
+++ b/Completion/Debian/Command/_dak
@@ -238,6 +238,10 @@ case $cmd in
)
;;
+ (*)
+ _files
+ ;;
+
esac
_arguments -s "$args[@]" && ret=0
prev parent reply other threads:[~2013-06-28 18:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-27 16:23 Ansgar Burchardt
2013-06-28 18:12 ` Peter Stephenson
2013-06-28 18:29 ` Clint Adams [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130628182947.GA19128@scru.org \
--to=clint@zsh.org \
--cc=691601@bugs.debian.org \
--cc=ansgar@debian.org \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).