Package: udiskie Version: 2.3.2-1 Severity: minor Dear Maintainer,
I was surprised my zsh didn't provide completions for `udiskie -⇥`. Checking `dpkg-query -L udiskie`, I noticed that the package ships a completion function in /usr/share/zsh/site-functions/_udiskie . Completion functions are searched for in zsh in the `$fpath` variable (as array, or $FPATH as colon separated string). By default on debian testing (I'm using `zsh -f` to exclude any of my zshrc to influence the printout and avoid misconfiguration on my side) this appears to be: ``` > zsh -f > for p in $fpath; do echo $p; done /usr/local/share/zsh/site-functions /usr/share/zsh/vendor-functions /usr/share/zsh/vendor-completions /usr/share/zsh/functions/Calendar /usr/share/zsh/functions/Chpwd /usr/share/zsh/functions/Completion /usr/share/zsh/functions/Completion/AIX /usr/share/zsh/functions/Completion/BSD /usr/share/zsh/functions/Completion/Base /usr/share/zsh/functions/Completion/Cygwin /usr/share/zsh/functions/Completion/Darwin /usr/share/zsh/functions/Completion/Debian /usr/share/zsh/functions/Completion/Linux /usr/share/zsh/functions/Completion/Mandriva /usr/share/zsh/functions/Completion/Redhat /usr/share/zsh/functions/Completion/Solaris /usr/share/zsh/functions/Completion/Unix /usr/share/zsh/functions/Completion/X /usr/share/zsh/functions/Completion/Zsh /usr/share/zsh/functions/Completion/openSUSE /usr/share/zsh/functions/Exceptions /usr/share/zsh/functions/MIME /usr/share/zsh/functions/Math /usr/share/zsh/functions/Misc /usr/share/zsh/functions/Newuser /usr/share/zsh/functions/Prompts /usr/share/zsh/functions/TCP /usr/share/zsh/functions/VCS_Info /usr/share/zsh/functions/VCS_Info/Backends /usr/share/zsh/functions/Zftp /usr/share/zsh/functions/Zle ``` On my system, /usr/share/zsh/site-functions is only used by the udiskie package. Other packages seem to ship completions to /usr/share/zsh/vendor-completions (which contains the completions for fdfind, ninja, ripgrep, mpv, vlc, systemd, …) So it appears to me like `/usr/share/zsh/vendor-completions` is used in debian packages and the debian default zsh config is set up for that. (NB: I did not check if there is an explicit debian agreement on where to install zsh completion functions and I did not check if the above fpath is the upstream zsh default or already a customization of the debian zsh(-common) package). -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (900, 'testing'), (500, 'stable'), (100, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-3-amd64 (SMP w/12 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.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 udiskie depends on: ii python3 3.9.1-1 ii python3-distutils 3.9.1-2 ii python3-docopt 0.6.2-3 ii python3-gi 3.38.0-1+b2 ii python3-pkg-resources 51.3.3-1 ii python3-yaml 5.3.1-3+b1 ii udisks2 2.9.1-3 Versions of packages udiskie recommends: ii dunst [notification-daemon] 1.5.0-1 ii gir1.2-gtk-3.0 3.24.24-1 ii gir1.2-notify-0.7 0.7.9-3 ii gobject-introspection 1.66.1-1+b1 ii notification-daemon 3.20.0-4 ii python3-keyutils 0.6-2+b4 udiskie suggests no packages. -- no debconf information