[Pkg-zsh-devel] Bug#1093843: zsh: fpath is missing /usr/share/zsh/site-functions

Chow Loong Jin hyperair at debian.org
Thu Jan 23 11:32:30 GMT 2025


Package: zsh
Version: 5.9-6ubuntu3
Severity: normal

Dear Maintainer,

There are a number of packages that install zsh completions into
/usr/share/zsh/site-functions, but this directory is missing from $fpath
in a fully stock zsh setup.

For reference, $fpath contains /usr/local/share/zsh/site-functions, but
not /usr/share/zsh/site-functions. I see that this change appears to
have been intentional (judging by a changelog entry[1] from 2001), but
I think either zsh should look in this directory by default, or there
needs to be a MBF for packages to move these completion files elsewhere.

[1] https://salsa.debian.org/debian/zsh/-/blob/841bce705a58b04220b1f257abcc00ae71cbdbdc/debian/changelog?page=5#L4230

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- Package-specific info:
Packages which depend, recommend, suggest or enhance a zsh package and hence may provide code meant to be sourced in .zshrc:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                    Version      Architecture Description
+++-=======================-============-============-===========================================
ii  zsh-syntax-highlighting 0.7.1-2      all          Fish shell like syntax highlighting for zsh

Packages which provide vendor completions:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name              Version                       Architecture Description
+++-=================-=============================-============-============================================================
ii  awscli            2.17.3-1                      all          Unified command line interface to Amazon Web Services
ii  bat               0.24.0-1build2                amd64        cat(1) clone with syntax highlighting and git integration
ii  bubblewrap        0.10.0-1                      amd64        utility for unprivileged chroot and namespace manipulation
ii  curl              8.9.1-2ubuntu2.2              amd64        command line tool for transferring data with URL syntax
ii  docker-ce-cli     5:27.4.1-1~ubuntu.24.04~noble amd64        Docker CLI: the open-source application container engine
ii  docker-compose    1.29.2-6.3                    all          define and run multi-container Docker applications with YAML
ii  dpkg-dev          1.22.11ubuntu1                all          Debian package development tools
ii  foot              1.18.1-1                      amd64        Fast, lightweight and minimalistic Wayland terminal emulator
ii  git-buildpackage  0.9.34                        all          Suite to help with Debian packages in Git repositories
ii  git-delta         0.17.0-3                      amd64        syntax-highlighting pager for git, diff, and grep output
ii  kubetail          1.6.20-1                      all          Aggregate logs from multiple Kubernetes pods into one stream
ii  meson             1.5.1-2ubuntu1                all          high-productivity build system
ii  mpv               0.38.0-1ubuntu1               amd64        video player based on MPlayer/mplayer2
ii  ninja-build       1.12.1-1                      amd64        small build system closest in spirit to Make
ii  playerctl         2.4.1-2build2                 amd64        utility to control media players via MPRIS
ii  pulseaudio-utils  1:16.1+dfsg1-5.1ubuntu1.1     amd64        Command line tools for the PulseAudio sound server
ii  qpdf              11.9.1-1                      amd64        tools for transforming and inspecting PDF files
ii  reprepro          5.3.1-5build4                 amd64        Debian package repository producer
ii  silversearcher-ag 2.2.0+git20200805-1.2         amd64        very fast grep-like program, alternative to ack
ii  snapd             2.66.1+24.10                  amd64        Daemon and tooling that enable snap packages
ii  swayidle          1.8.0-1                       amd64        Idle management daemon for Wayland
ii  swaylock          1.7.2-1build2                 amd64        Screen locker for Wayland
ii  sysdig            0.36.0+repack-1               amd64        system-level exploration and troubleshooting tool
ii  systemd           256.5-2ubuntu3.1              amd64        system and service manager
ii  systemd-container 256.5-2ubuntu3.1              amd64        systemd container/nspawn tools
ii  systemd-coredump  256.5-2ubuntu3.1              amd64        tools for storing and retrieving coredumps
ii  systemd-oomd      256.5-2ubuntu3.1              amd64        userspace out-of-memory (OOM) killer
ii  systemd-resolved  256.5-2ubuntu3.1              amd64        systemd DNS resolver
ii  tlp               1.6.1-2ubuntu1                all          Optimize laptop battery life
ii  tlp-rdw           1.6.1-2ubuntu1                all          Radio device wizard
ii  torsocks          2.4.0-2                       amd64        use SOCKS-friendly applications with Tor
ii  ubuntu-report     1.7.3ubuntu0.24.04.2          amd64        Report hardware and other collected metrics
ii  udev              256.5-2ubuntu3.1              amd64        /dev/ and hotplug management daemon
ii  vlc-bin           3.0.21-2                      amd64        binaries from VLC
ii  wl-clipboard      2.2.1-1build1                 amd64        command line interface to the wayland clipboard
ii  yt-dlp            2024.09.27-1                  all          downloader of videos from YouTube and other sites

The following files were modified:

/etc/systemd/journald.conf

dpkg-query: no path found matching pattern /usr/share/zsh/vendor-functions/


-- System Information:
Debian Release: trixie/sid
  APT prefers oracular-updates
  APT policy: (500, 'oracular-updates'), (500, 'oracular-security'), (500, 'oracular'), (100, 'oracular-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.11.0-13-generic (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, 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 zsh depends on:
ii  debianutils  5.20
ii  libc6        2.40-1ubuntu3
ii  libcap2      1:2.66-5ubuntu3
ii  libtinfo6    6.5-2
ii  zsh-common   5.9-6ubuntu3

Versions of packages zsh recommends:
ii  libgdbm6t64   1.24-2
ii  libncursesw6  6.5-2
ii  libpcre2-8-0  10.42-4ubuntu3

Versions of packages zsh suggests:
ii  zsh-doc  5.9-6ubuntu3

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-zsh-devel/attachments/20250123/58328afb/attachment.sig>


More information about the Pkg-zsh-devel mailing list