From: "Lawrence Velázquez" <larryv@zsh.org>
To: "Jörg Sommer" <joerg@jo-so.de>,
"Bart Schaefer" <schaefer@brasslantern.com>
Cc: zsh-workers@zsh.org
Subject: Re: [PATCH] init.sourcehome: look in ~/.config/zsh for files
Date: Tue, 02 Jan 2024 02:58:40 -0500 [thread overview]
Message-ID: <b6215335-34d9-42cb-a8f9-863c0f12523a@app.fastmail.com> (raw)
In-Reply-To: <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
next prev parent reply other threads:[~2024-01-02 8:00 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
2024-01-02 7:01 ` Jörg Sommer
2024-01-02 7:58 ` Lawrence Velázquez [this message]
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=b6215335-34d9-42cb-a8f9-863c0f12523a@app.fastmail.com \
--to=larryv@zsh.org \
--cc=joerg@jo-so.de \
--cc=schaefer@brasslantern.com \
--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).