From 683c2cc1ca6877a74b91c869e24642fdc4eb5ab3 Mon Sep 17 00:00:00 2001 From: dana Date: Mon, 25 Mar 2019 16:19:00 -0500 Subject: 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 --- Completion/Debian/Command/_apt-file | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Debian/Command/_apt-file') 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 -- cgit v1.2.3