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 52456
- From: Lawrence Velázquez <larryv@xxxxxxx>
- To: Jörg Sommer <joerg@xxxxxxxx>, "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- Cc: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] init.sourcehome: look in ~/.config/zsh for files
- Date: Tue, 02 Jan 2024 02:58:40 -0500
- Archived-at: <https://zsh.org/workers/52456>
- Feedback-id: iaa214773:Fastmail
- In-reply-to: <dhuwymqcyffan5ftrdnckxpeydcoamwbwcucry7b7xfu36xifs@gzwvpm5yznp3>
- 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> <CAH+w=7ZToZBonEBGAaP0gXRPhJNqQ2sAd9GiTabLpiyttWSYvQ@mail.gmail.com> <dhuwymqcyffan5ftrdnckxpeydcoamwbwcucry7b7xfu36xifs@gzwvpm5yznp3>
On Tue, Jan 2, 2024, at 2:01 AM, Jörg Sommer wrote:
> Would it be an option to initialize ZDOTDIR with ~/.config/zsh, if it
> exists?
This would still make the already-complicated startup process even
more complicated.
> This would not require the setting of ZDOTDIR in /etc, i.e. asking
> the administrator to make the change.
Changing /etc/zshenv is not necessary. One can easily
- put all the startup files in $HOME/.config/zsh
- set ZDOTDIR=$HOME/.config/zsh in $HOME/.config/zsh/.zshenv
- symlink $HOME/.config/zsh/.zshenv to $HOME/.zshenv
(Or something similar.)
--
vq
Messages sorted by:
Reverse Date,
Date,
Thread,
Author