Re: Include XDG_DATA_DIRS/share/zsh/site-functions in FPATH by default?
Jade Lovelace <[email protected]>
| Newsgroups | gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user |
|---|---|
| Message-ID | <CAC_G=DZm+QotS=Y_TXtJq0Gt8g2woEhQmKmv6D0u5C7Drr0t7Q@mail.gmail.com> |
The cleanest solution *by far* is if zsh were to, by default, load completions from XDG_DATA_DIRS whenever XDG_DATA_DIRS changes (or at rehash time), which would then Just Work(tm). Some more digging reveals that someone's written a zsh plugin for such a thing. It being a third party plugin is quite suboptimal as it means that zsh doesn't have this work by default and thus the majority of people who aren't fiddling extensively with their setup won't have it work for them. https://github.com/BronzeDeer/zsh-completion-sync I don't know if anyone has talked about this whole situation on the mailing list yet but I wanted to make sure that it was raised as an issue affecting (relatively large numbers of the less-customization-oriented) people who are using zsh in practice. Regards, Jade