Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Include XDG_DATA_DIRS/share/zsh/site-functions in FPATH by default?
- X-seq: zsh-users 30286
- From: Lawrence Velázquez <larryv@xxxxxxx>
- To: "Jade Lovelace" <jadel@xxxxxxxxxxx>
- Cc: zsh-users@xxxxxxx
- Subject: Re: Include XDG_DATA_DIRS/share/zsh/site-functions in FPATH by default?
- Date: Thu, 26 Jun 2025 18:41:47 -0400
- Archived-at: <https://zsh.org/users/30286>
- Feedback-id: iaa214773:Fastmail
- In-reply-to: <CAC_G=Dabvii56rFAsTJZ3gjj9qakV_fojGwf26wO3mGVwg3owQ@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <CAC_G=Dabvii56rFAsTJZ3gjj9qakV_fojGwf26wO3mGVwg3owQ@mail.gmail.com>
On Thu, Jun 26, 2025, at 6:23 PM, Jade Lovelace wrote:
> This is superfluous in bash which uses XDG_DATA_DIRS by default:
> https://github.com/scop/bash-completion/blob/51b009f6a653c66454816e9bc869c40f61329764/README.md?plain=1#L362-L372
> and
> https://github.com/scop/bash-completion/blob/51b009f6a653c66454816e9bc869c40f61329764/bash_completion#L3306-L3309.
No, bash does not use XDG. The "bash-completion" project is
a third-party effort that is not affiliated with the GNU bash
project.
> I am wondering if zsh has considered doing this by default as well, as
> it makes zsh integrate cleanly with other tooling that uses
> XDG_DATA_DIRS without specially needing to consider adding zsh
> specific code to handle FPATH.
This is not about fpath, but it is representative of the developers'
general position on XDG support.
https://www.zsh.org/mla/workers/2024/msg00012.html
--
vq
Messages sorted by:
Reverse Date,
Date,
Thread,
Author