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 32449 invoked from network); 27 May 2020 13:16:53 -0000 Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTPUTF8; 27 May 2020 13:16:53 -0000 Received: (qmail 14273 invoked by alias); 27 May 2020 13:16:46 -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: 24875 Received: (qmail 14118 invoked by uid 1010); 27 May 2020 13:16:46 -0000 X-Qmail-Scanner-Diagnostics: from smtpq1.tb.ukmail.iss.as9143.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(212.54.57.96):SA:0(-2.7/5.0):. Processed in 3.805945 secs); 27 May 2020 13:16:46 -0000 X-Envelope-From: p.w.stephenson@ntlworld.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _mailcloud.virginmedia.com designates 212.54.57.96 as permitted sender) X-Env-Mailfrom: p.w.stephenson@ntlworld.com X-Env-Rcptto: zsh-users@zsh.org X-SourceIP: 172.25.160.136 X-CNFS-Analysis: v=2.3 cv=Lf2nFgXi c=1 sm=1 tr=0 a=4AIt8OzuWET5BS7mAkvERw==:117 a=KEnZaF_ea6UA:10 a=IkcTkHD0fZMA:10 a=DoY9bV0jb9AA:10 a=pGLkceISAAAA:8 a=scXJo6UXztSpqLZtCsoA:9 a=QEXdDO2ut3YA:10 X-Authenticated-Sender: p.w.stephenson@ntlworld.com Date: Wed, 27 May 2020 14:16:04 +0100 (BST) From: Peter Stephenson To: Rob Mardin , zsh-users@zsh.org Message-ID: <853619536.203578.1590585364556@mail2.virginmedia.com> In-Reply-To: References: Subject: Re: Missing .zshenv file in /etc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.4-Rev70 X-Originating-IP: 165.225.81.56 X-Originating-Client: open-xchange-appsuite X-CMAE-Envelope: MS4wfFVjyaRArTwd72bZt7WIhHVUI58JkMdvnb1C5rIaS4URCmt3vKVNEObktbUeQTrqgr/8ZnVr+bf64Il3LTQVxdsYVUv7f+ipw6whccpEMnPFgsF4UlAk vO2hsjW655WQRCNgnoet9JqxDNiIRP2Pev0BHdql0gXnK/jMQjmvC6cmzZB3XWurUldlgkb+kM/+4R2YnIcJ9LRSPXzF+Y5IdGzkzH9f4+to5EehV0VTQMB6 > 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. 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