From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13809 invoked by alias); 28 Jun 2013 18:36:17 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31498 Received: (qmail 20172 invoked from network); 28 Jun 2013 18:36:02 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at zsh.org does not designate permitted sender hosts) Date: Fri, 28 Jun 2013 18:29:47 +0000 From: Clint Adams To: Ansgar Burchardt Cc: zsh-workers@zsh.org, 691601@bugs.debian.org Subject: Re: completion for dak not helpful (Completion/Debian/Command/_dak) Message-ID: <20130628182947.GA19128@scru.org> References: <51CC66EA.3000006@debian.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51CC66EA.3000006@debian.org> User-Agent: Mutt/1.5.21 (2010-09-15) 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