From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: Rob Mardin <rmardin@gmail.com>, zsh-users@zsh.org
Subject: Re: Missing .zshenv file in /etc
Date: Wed, 27 May 2020 14:16:04 +0100 (BST) [thread overview]
Message-ID: <853619536.203578.1590585364556@mail2.virginmedia.com> (raw)
In-Reply-To: <CANUTedJcaxbm3G2LXPvZ5mLTwVpVVf6VnbLt5_ENggx-LJG6rw@mail.gmail.com>
> On 27 May 2020 at 13:58 Rob Mardin <rmardin@gmail.com> wrote:
> Hello there; I am scratching my head to find how to create .zshenv in /etc
> folder on Mac OS (Catalina). I thought that this file is automatically
> created. Could someone help point me to how to autoconfig, ie reinstantiate
> zsh so that I have the necessary files to start learning zsh scripting.
No idea about Mac OS, but normally that file --- actually /etc/zshenv, no "."
--- isn't present on most systems, as it would be executed by every
single instance of zsh that starts on the system. This is generally a bad
thing unless there's some overriding local reason for that.
It's much more normal to have other /etc/z* files, trying looking for those.
I'm not sure learning zsh scripting form standard system files is a
particularly great way anyway, but I'm saying that without having actually
looked at the Mac OS ones. There will be plenty of examples around the web.
pws
next prev parent reply other threads:[~2020-05-27 13:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-27 12:58 Rob Mardin
2020-05-27 13:16 ` Peter Stephenson [this message]
2020-05-27 14:00 ` Perry Smith
2020-05-27 14:54 ` TJ Luoma
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=853619536.203578.1590585364556@mail2.virginmedia.com \
--to=p.w.stephenson@ntlworld.com \
--cc=rmardin@gmail.com \
--cc=zsh-users@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).