[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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@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


Reply to: