summary refs log tree commit diff
path: root/Completion/Debian/Command
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2018-04-05 13:00:14 +0200
committerOliver Kiddle <okiddle@yahoo.co.uk>2018-04-05 13:00:14 +0200
commitbfff8debf78ccca79a6e362c1ee3eb6748578bec (patch)
treed4c8c13a7eede58e40970b8c81d3022961939a09 /Completion/Debian/Command
parent9004b59115615e90248eef1910a24c30a67518f8 (diff)
downloadzsh-bfff8debf78ccca79a6e362c1ee3eb6748578bec.tar.gz
zsh-bfff8debf78ccca79a6e362c1ee3eb6748578bec.tar.xz
zsh-bfff8debf78ccca79a6e362c1ee3eb6748578bec.zip
42591: complete *.changes and *.dsc files alongside *.deb
Diffstat (limited to 'Completion/Debian/Command')
-rw-r--r--Completion/Debian/Command/_apt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Debian/Command/_apt b/Completion/Debian/Command/_apt
index 645b02279..dd837379c 100644
--- a/Completion/Debian/Command/_apt
+++ b/Completion/Debian/Command/_apt
@@ -411,7 +411,7 @@ _apt-cmd () {
       /$'(install|download|source|build-dep)\0'/ -'subcmd=${match%?}' \
       /$'[^\0]#\0'/ ':packages::_deb_packages -qr "\n\t\- /=" "$expl_packages[@]" avail' \# \
       \( \
-	// '%(.|)/%' -'[[ $subcmd = install ]]' /'[]'/ ':files:package file:_files -g "*.deb(-.)"' \| \
+	// '%(.|)/%' -'[[ $subcmd = install ]]' /'[]'/ ':files:package file:_files -g "*.(changes|deb|dsc)(-.)"' \| \
 	/$'[^\0/=]#\/'/ /'[]'/ ':apt-releases:release name:_apt_releases' \| \
 	/$'[^\0/=]#='/ /'[]'/ ':apt-package-versions:package version:_apt_versions_of_binary_package' \| \
       \) \