zsh-workers
 help / color / mirror / code / Atom feed
* completion for dak not helpful (Completion/Debian/Command/_dak)
@ 2013-06-27 16:23 Ansgar Burchardt
  2013-06-28 18:12 ` Peter Stephenson
  2013-06-28 18:29 ` Clint Adams
  0 siblings, 2 replies; 3+ messages in thread
From: Ansgar Burchardt @ 2013-06-27 16:23 UTC (permalink / raw)
  To: zsh-workers

Hi,

[ Please CC me in replies. I'm not subscribed to the list. ]

the completion rules for dak are not very helpful:

Many subcommands do not offer filename completion even though the
command accepts files. That's really annoying.

The list of options the various subcommands take is quite outdated. So
are the hardcoded names of architectures, suites and sections.

The rules should either be updated and at least offer filename
completion or the entire completion for dak could be dropped (it's a
fairly specific tool that not many people use anyway).

I already reported this in Debian's BTS[1], but it wasn't forwarded.

  [1] <http://bugs.debian.org/691601>

Ansgar


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: completion for dak not helpful (Completion/Debian/Command/_dak)
  2013-06-27 16:23 completion for dak not helpful (Completion/Debian/Command/_dak) Ansgar Burchardt
@ 2013-06-28 18:12 ` Peter Stephenson
  2013-06-28 18:29 ` Clint Adams
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Stephenson @ 2013-06-28 18:12 UTC (permalink / raw)
  To: zsh-workers

In case you hadn't guessed, I'm leaving this for those associated with
Debian to deal with as they see fit.

-- 
Peter Stephenson <p.w.stephenson@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: completion for dak not helpful (Completion/Debian/Command/_dak)
  2013-06-27 16:23 completion for dak not helpful (Completion/Debian/Command/_dak) Ansgar Burchardt
  2013-06-28 18:12 ` Peter Stephenson
@ 2013-06-28 18:29 ` Clint Adams
  1 sibling, 0 replies; 3+ messages in thread
From: Clint Adams @ 2013-06-28 18:29 UTC (permalink / raw)
  To: Ansgar Burchardt; +Cc: zsh-workers, 691601

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-28 18:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-27 16:23 completion for dak not helpful (Completion/Debian/Command/_dak) Ansgar Burchardt
2013-06-28 18:12 ` Peter Stephenson
2013-06-28 18:29 ` 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).