From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 4417 invoked from network); 27 May 2020 14:01:40 -0000 Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTPUTF8; 27 May 2020 14:01:40 -0000 Received: (qmail 13668 invoked by alias); 27 May 2020 14:01:29 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24876 Received: (qmail 2829 invoked by uid 1010); 27 May 2020 14:01:29 -0000 X-Qmail-Scanner-Diagnostics: from blue.elm.relay.mailchannels.net by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.3/25821. spamassassin: 3.4.4. Clear:RC:0(23.83.212.20):SA:0(-2.0/5.0):. Processed in 2.251199 secs); 27 May 2020 14:01:29 -0000 X-Envelope-From: pedz@easesoftware.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at spf1.mailchannels.net designates 23.83.212.20 as permitted sender) X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-MailChannels-Auth-Id: a2hosting X-Spot-Coil: 432eaf470bcacafc_1590588043640_3173166605 X-MC-Loop-Signature: 1590588043640:2398911260 X-MC-Ingress-Time: 1590588043640 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Missing .zshenv file in /etc From: Perry Smith X-Priority: 3 In-Reply-To: <853619536.203578.1590585364556@mail2.virginmedia.com> Date: Wed, 27 May 2020 09:00:39 -0500 Cc: Rob Mardin , zsh-users@zsh.org Content-Transfer-Encoding: quoted-printable Message-Id: <1536AEE5-7C5F-4EDA-8DF0-AFB780E0850A@easesoftware.com> References: <853619536.203578.1590585364556@mail2.virginmedia.com> To: Peter Stephenson X-Mailer: Apple Mail (2.3608.80.23.2.2) X-AuthUser: pedz+easesoftware.com@mi3-ss4.a2hosting.com I have these files: -rw-r--r-- 1 root wheel 260 Oct 13 2019 /etc/zshenv -r--r--r-- 1 root wheel 3094 Feb 29 00:58 /etc/zshrc -rw-r--r-- 1 root wheel 911 Sep 3 2019 = /etc/zshrc_Apple_Terminal I=E2=80=99m on macOS 10.15.4 and I did a fresh install so I=E2=80=99m = pretty sure I have the =E2=80=9Cstock=E2=80=9D configuration. > On May 27, 2020, at 8:16 AM, Peter Stephenson = wrote: >=20 >=20 >> On 27 May 2020 at 13:58 Rob Mardin 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. >=20 > 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. >=20 > It's much more normal to have other /etc/z* files, trying looking for = those. >=20 > 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. >=20 > pws