about summary refs log tree commit diff
path: root/Completion/Debian/Command/_apt-file
diff options
context:
space:
mode:
authordana <dana@dana.is>2019-03-25 16:19:00 -0500
committerdana <dana@dana.is>2019-03-25 16:19:00 -0500
commit683c2cc1ca6877a74b91c869e24642fdc4eb5ab3 (patch)
tree0a1d368a856038384b1adeba2eac6dde353bca31 /Completion/Debian/Command/_apt-file
parent52f3266bd010918122ae039510486131a2c4afe3 (diff)
downloadzsh-683c2cc1ca6877a74b91c869e24642fdc4eb5ab3.tar.gz
zsh-683c2cc1ca6877a74b91c869e24642fdc4eb5ab3.tar.xz
zsh-683c2cc1ca6877a74b91c869e24642fdc4eb5ab3.zip
44160 (tweaked): Completion: Add _deb_files, match *.ddeb
Add new helper function for generating Debian package/control files, use it
where applicable

Adjusted only for minor white-space corruption in original patch
Diffstat (limited to 'Completion/Debian/Command/_apt-file')
-rw-r--r--Completion/Debian/Command/_apt-file2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Debian/Command/_apt-file b/Completion/Debian/Command/_apt-file
index 98a93fdd3..5b24707d2 100644
--- a/Completion/Debian/Command/_apt-file
+++ b/Completion/Debian/Command/_apt-file
@@ -36,7 +36,7 @@ case $state in
     case $line[1] in
       search|find)
 	if (( $#opt_args[(I)(-D|--from-deb)] )); then
-	  _wanted files expl 'debian package' _files -g '*.deb(-.)'
+	  _deb_files
 	elif (( $#opt_args[(I)(-f|--from-file)] )); then
           _files
 	else