[Pkg-zsh-devel] Bug#962135: zsh-common: "dpkg -l" completion should not proposed purged packages

Vincent Lefevre vincent at vinc17.net
Wed Jun 3 17:51:02 BST 2020


Control: retitle -1 zsh-common: "dpkg -l" completion should not propose purged packages

On 2020-06-03 18:15:27 +0200, Vincent Lefevre wrote:
> "dpkg -l" proposes all packages known by apt-cache:
> 
> zira:~> dpkg -l [TAB]
> zsh: do you wish to see all 95490 possibilities (95491 lines)? 
> 
> For instance, in the completion list:
> 
> zira:~> dpkg -l abcde
> dpkg-query: no packages found matching abcde
> 
> Only packages with available information should be proposed, like
> "dpkg -s" (whose completion is currently buggy, see bug 962133).

Like for bug 962133, the fix should be easy: change avail
(which is used for "apt-cache show") to xinstalled. I'm going
to do some tests.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the Pkg-zsh-devel mailing list