Bug#1107272: python3-argcomplete: Pre-install zsh and bash completions
From
Felipe Sateler@21:1/5 to
All on Wed Jun 4 14:00:02 2025
Package: python3-argcomplete
Version: 3.6.2-1
Severity: wishlist
Dear Maintainer,
Upstream provides the activate-global-python-argcomplete command to
install the zsh and bash completions to the correct locations, either
system wide or user-local.
I presume this is because knowing where the correct location is may be non-trivial, and may even require modifying local config (when using the
--user flag). On the global install, the script simply copies _python-argcomplete to the appropriate location.
On debian, on the other hand, none of this complexity is necessary: the
package can pre-install the completions to
/usr/share/zsh/vendor-completions for zsh and /usr/share/bash-completion/completions for bash.
This should activate completions for all users upon package
installation, without requiring running a command as root. The
completions could even be symlinks to the actual file and thus not
require any extra space.
Thanks
-- System Information:
Debian Release: 13.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.27-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-argcomplete depends on:
ii python3 3.13.3-1
python3-argcomplete recommends no packages.
python3-argcomplete suggests no packages.
-- no debconf information
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)