[Pkg-zsh-devel] Bug#1095516: apt: zsh-autosuggestions not listing or understanding all possible options for apt

Huey Chen hueychen27 at outlook.com
Mon Feb 10 01:03:17 GMT 2025


On Sat, 8 Feb 2025 20:34:20 +0100 Julian Andres Klode <jak at debian.org> wrote:
> Control: reassign -1 zsh-common
> 
> On Sat, Feb 08, 2025 at 09:50:35AM -0800, Huey Chen wrote:
> > Package: apt
> > Version: 2.9.28
> > Severity: minor
> > X-Debbugs-Cc: hueychen27 at outlook.com
> > 
> > Dear Maintainer,
> > 
> > This may be a minor issue but still a slight inconvenience. I often use 
autopurge for removing packages, but I cannot get autosuggestion to suggest 
package names.  
> > Also, when pressing tab, not all options and flags are listed (missing many 
like autopurge.)
> > This is an issue for apt-get too, I think the problem is that the 
autosuggestion file is not comprehensive enough for bash and zsh.
> 
> We do not provide completions for zsh. As far as I can tell they are
> provided by zsh-common.
> 
> zsh-common: /usr/share/zsh/functions/Completion/Debian/_apt
> 
> Please note that we do not provide means to query options and
> commands yet. A future version of apt will include the necessary
> means to build an autocomplete functionality on top rather than
> hardcoding all the bits.
> 
> -- 
> debian developer - deb.li/jak | jak-linux.org - free software dev
> ubuntu core developer                              i speak de, en
> 
> 
You provide completions for bash though?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-zsh-devel/attachments/20250209/e274e01f/attachment.sig>


More information about the Pkg-zsh-devel mailing list