Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] init.sourcehome: look in ~/.config/zsh for files
- X-seq: zsh-workers 52450
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Jörg Sommer <joerg@xxxxxxxx>
- Cc: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] init.sourcehome: look in ~/.config/zsh for files
- Date: Mon, 1 Jan 2024 15:31:26 -0800
- Archived-at: <https://zsh.org/workers/52450>
- In-reply-to: <6kojc6iwl5c6raahnkwzuwylats7qgwgybx4y3yliavu7h6z3w@42im63oedqil>
- List-id: <zsh-workers.zsh.org>
- References: <f14bdf8880777c171515fc147a4084de955fd6b8.1704139164.git.joerg@jo-so.de> <CAH+w=7YfS-DFyX7CtxJ4qw+W3UQn4mBEPZ6UBS6pGiXe-mBkhw@mail.gmail.com> <6kojc6iwl5c6raahnkwzuwylats7qgwgybx4y3yliavu7h6z3w@42im63oedqil>
On Mon, Jan 1, 2024 at 1:15 PM Jörg Sommer <joerg@xxxxxxxx> wrote:
>
> Bart Schaefer schrieb am Mo 01. Jan, 12:06 (-0800):
> >
> > I think we long ago decided that we're not going to attempt to comply with XDG.
>
> I think this is reasonable, because XDG is very complex and Zsh should run
> on many different systems. But wouldn't it be possible to support a minimal
> subset, e.g. like ~/.config, to allow using some XDG features?
IIRC, the argument goes like this: Zsh already has 5 config files
(zshenv, zshrc, zprofile, zlogin, zlogout) and three places to look
for each of them (/etc/*, $ZDOTDIR/.*, $HOME/.*) and adding yet
another location makes worse a situation that it's already difficult
to clearly explain and use. Especially given that it's unclear
whether one location supersedes the other (like ZDOTDIR vs. HOME) or
whether both locations should be sourced (in the manner of /etc and
one of the others).
Some relevant completion files do make reference to the XDG locations.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author