Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] init.sourcehome: look in ~/.config/zsh for files



Bart Schaefer schrieb am Mo 01. Jan, 15:31 (-0800):
> 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

Would it be an option to initialize ZDOTDIR with ~/.config/zsh, if it
exists? This would not require the setting of ZDOTDIR in /etc, i.e. asking
the administrator to make the change.

-- 
“Science is the game we play with God to find out what his rules are.”

Attachment: signature.asc
Description: PGP signature



Messages sorted by: Reverse Date, Date, Thread, Author