I started looking into this. If you try to use completion on `nala 
install/remove` it will work, but basically everything else does not. I tracked 
the issue down until I realize it's not in Nala and it's in typer itself. I 
searched after I realized what the problem was and it seems like someone 
already has an issue opened. https://github.com/fastapi/typer/pull/1069

I also use sid, and this is very easy to reproduce on my machine after running 
fish.

On Sun, Jan 5, 2025, at 1:32 PM, Andrew Gunawan wrote:
> Package: nala
> Version: 0.15.4
> Severity: important
> X-Debbugs-Cc: f...@ndrewsebastiangunawan.mozmail.com
> 
> So I'm using the fish shell, and the autocompletion feature is broken.
> When you press `tab` after typing nala, what **should** happen is that
> the suggested commands show up, with a description of the command
> parameter.
> Example, pressing `tab` after `nala` returns:
> ```
> nala autopurge\ \ \ \ \ \ \ Autopurge\ packages\ that\ are\ no\ longer\ 
> needed.
> ```
> So I can't use the `tab` autocompletion, or have to manually delete all
> the extra text at the end.
> 
> 
> 
> -- System Information:
> Debian Release: trixie/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 6.12.6-amd64 (SMP w/4 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, 
> TAINT_UNSIGNED_MODULE
> Locale: LANG=en_SG.UTF-8, LC_CTYPE=en_SG.UTF-8 (charmap=UTF-8), 
> LANGUAGE=en_SG:en
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> Versions of packages nala depends on:
> ii  apt                        2.9.21
> ii  python3                    3.12.8-1
> ii  python3-anyio              4.7.0-1
> ii  python3-apt                2.9.6+b1
> ii  python3-debian             0.1.49
> ii  python3-httpx              0.27.2-1
> ii  python3-pexpect            4.9-3
> ii  python3-rich               13.9.4-1
> ii  python3-tomli              2.0.1-2
> ii  python3-typer              0.13.1-1
> ii  python3-typing-extensions  4.12.2-2
> 
> Versions of packages nala recommends:
> ii  python3-socksio  1.0.0-3
> 
> nala suggests no packages.
> 
> -- no debconf information
> 

Reply via email to