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=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27080 invoked from network); 8 Sep 2022 22:32:59 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 8 Sep 2022 22:32:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:Subject:Cc:To:From:Date: References:In-Reply-To:Message-Id:Mime-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=i8cmANuL4rTwpRMzZoMPJpEe55JxS3jOS+WayImLOpQ=; b=FwoFVm+/N5fWM97nu8j+aetCKj s7DUDGVddOkwdZcz/0KPa7ddAgq8WU+x1I1czZ8oz6hd+CgN9XLgfCaA7Yp6fmL8BUeaKNpDBNQCo 6keAvsJy2kUaNGifDNXSFNEoZfqeB7oim5aeXl/QxiWsKxNkuTTNKeV05NbtuRcm3nCWJG3nt2Ibz 6MmkOib7Hx+X2M9ZOKy1Nl9Cl0NgO28A5Si7EKmXY9FLs18sJLZdnu2cz43Pdt+VxtSCoR363JOkV zADRDvGQxANRPJ9SFmgWSzm1U5G4xRXjhk2dhjV/cg7qjqIKfTKO/DFQ6ueZf/1OSvOfPbAJlildg GOPSd45Q==; Received: from authenticated user by zero.zsh.org with local id 1oWQ4x-000Pif-3W; Thu, 08 Sep 2022 22:32:59 +0000 Received: from authenticated user by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1oWQ3y-000OzI-Qh; Thu, 08 Sep 2022 22:31:59 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id BB5B327C0054; Thu, 8 Sep 2022 18:31:54 -0400 (EDT) Received: from imap48 ([10.202.2.98]) by compute2.internal (MEProxy); Thu, 08 Sep 2022 18:31:54 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfedtgedgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvvefutgesth dtredtreerjeenucfhrhhomhepnfgrfihrvghntggvpgggvghljoiiqhhuvgiiuceolhgr rhhrhihvseiishhhrdhorhhgqeenucggtffrrghtthgvrhhnpeehfffhueejheeugffgfe euudffledvleegffeuhedvveekueegiedugfelueefteenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlrghrrhihvhdomhgvshhmthhprghuth hhphgvrhhsohhnrghlihhthidqudduhedukeejjedtgedqudduledvjeefkeehqdhlrghr rhihvheppeiishhhrdhorhhgsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: iaa214773:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 60D3131A0062; Thu, 8 Sep 2022 18:31:54 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-927-gf4c98c8499-fm-20220826.002-gf4c98c84 Mime-Version: 1.0 Message-Id: <0486fcad-b09d-430a-810b-0d178e52b2c6@www.fastmail.com> In-Reply-To: References: <5556798a-b9a5-6f58-2c41-7563e771516b@gmx.com> <91037551-fa22-610e-ec6d-a350d69b80cf@gmx.com> Date: Thu, 08 Sep 2022 18:30:44 -0400 From: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= To: Piscium Cc: zsh-users@zsh.org Subject: Re: zprofile and .profile sourcing Content-Type: text/plain X-Seq: 28057 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On Thu, Sep 8, 2022, at 6:12 PM, Piscium wrote: > However in /etc/zsh/zprofile there is: > emulate sh -c 'source /etc/profile' > > so I would expect /etc/profile to be loaded in all cases, even when > not logging in over lightdm, and "$HOME/.profile" being sourced > because 'emulate sh' which calls zsh in sh compatibility mode? "emulate sh -c ..." just runs the given commands in compatibility mode. It does not start a new zsh process, so no startup files are involved. -- vq