zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: "Jörg Sommer" <joerg@jo-so.de>
Cc: zsh-workers@zsh.org
Subject: Re: [PATCH] init.sourcehome: look in ~/.config/zsh for files
Date: Mon, 1 Jan 2024 15:31:26 -0800	[thread overview]
Message-ID: <CAH+w=7ZToZBonEBGAaP0gXRPhJNqQ2sAd9GiTabLpiyttWSYvQ@mail.gmail.com> (raw)
In-Reply-To: <6kojc6iwl5c6raahnkwzuwylats7qgwgybx4y3yliavu7h6z3w@42im63oedqil>

On Mon, Jan 1, 2024 at 1:15 PM Jörg Sommer <joerg@jo-so.de> 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.


  parent reply	other threads:[~2024-01-01 23:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-01 19:59 Jörg Sommer
2024-01-01 20:06 ` Bart Schaefer
2024-01-01 21:14   ` Jörg Sommer
2024-01-01 22:25     ` earnestly
2024-01-01 22:41       ` Wesley Schwengle
2024-01-01 23:42         ` earnestly
2024-01-02  1:13           ` Wesley Schwengle
2024-01-01 23:31     ` Bart Schaefer [this message]
2024-01-02  7:01       ` Jörg Sommer
2024-01-02  7:58         ` Lawrence Velázquez
2024-01-02 11:18           ` zeurkous
2024-01-02 20:00           ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7ZToZBonEBGAaP0gXRPhJNqQ2sAd9GiTabLpiyttWSYvQ@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=joerg@jo-so.de \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).