[Pkg-zsh-devel] Bug#691601: completion for dak not helpful (Completion/Debian/Command/_dak)
Clint Adams
clint at zsh.org
Fri Jun 28 18:29:47 UTC 2013
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
More information about the Pkg-zsh-devel
mailing list