Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion for dak not helpful (Completion/Debian/Command/_dak)
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author