Public bug reported: **Describe the bug**
The zsh completion scripts are installed into the `/usr/share/zsh/site-functions` folder on Ubuntu. ``` > dpkg-query -L distrobox | grep zsh /usr/share/zsh /usr/share/zsh/site-functions /usr/share/zsh/site-functions/_distrobox /usr/share/zsh/site-functions/_distrobox-assemble /usr/share/zsh/site-functions/_distrobox-create /usr/share/zsh/site-functions/_distrobox-enter /usr/share/zsh/site-functions/_distrobox-ephemeral /usr/share/zsh/site-functions/_distrobox-export /usr/share/zsh/site-functions/_distrobox-generate-entry /usr/share/zsh/site-functions/_distrobox-host-exec /usr/share/zsh/site-functions/_distrobox-init /usr/share/zsh/site-functions/_distrobox-list /usr/share/zsh/site-functions/_distrobox-rm /usr/share/zsh/site-functions/_distrobox-stop /usr/share/zsh/site-functions/_distrobox-upgrade ``` However, `/usr/share/zsh/site-functions` is **not** the in the default `fpath` list on Ubuntu. You can use `zsh -fc 'print -rl $fpath'` to verify it on Ubuntu and compare it with other distros. **To Reproduce** - Insta `distrobox/noble,now 1.7.0-1` on Ubuntu - Open a new terminal and type `distrobox <tab>` **Expected behavior** Completion prompts popup with other distrobox sub-commands. **Additional context** On Ubuntu vendor scripts are supposed to be installed into these folders: ``` /usr/share/zsh/vendor-functions /usr/share/zsh/vendor-completions ``` https://github.com/89luca89/distrobox/issues/1580 ** Affects: distrobox (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2084366 Title: zsh completion scripts are installed to the wrong folder on Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distrobox/+bug/2084366/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs