From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id dYiEKmB9umTHAQAASxT56A (envelope-from ) for ; Fri, 21 Jul 2023 14:43:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id II4jKWB9umTOhwAAauVa8A (envelope-from ) for ; Fri, 21 Jul 2023 14:43:12 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4191866223 for ; Fri, 21 Jul 2023 14:43:12 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=envs.net header.s=modoboa header.b=o0+xGX6V; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689943392; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=f5YskNbFErpUexD/WHB3up3tbgGF/sUhO5QjfrZiJAc=; b=Y7IGUCg/2Kf+nmd4YdT4BnQU+rV+dFxzX1S2081KV3tLVpeZg4tvwcwi8SiN2OVg7RqsTA szGVVd0LLZDtdSHmH07+NBk4YwUN0PwWOyIr1njyoQJ9Us8Uigu+z9SjyGeY/r9/q2kDLF NQ9K9xSPWFVr/L+ETHFA7zF9g32aPyZo5+aOcjSJhtkMWOJrhjyXMRmHns0MqN4GLfkMC6 VykUd4/hImvjZbw9VUkFsUcOensUotOdNdzvD1bwYgThMpRRig3Ja9jI/HROnknKC/Au/t Gnj4I2ZdCK46fmN2VDq+Q+Rtq+Gd75eFDSbhnth2tZXx/BIQmxkO5yxooAE0Tw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=envs.net header.s=modoboa header.b=o0+xGX6V; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689943392; a=rsa-sha256; cv=none; b=Gpf3o6LLJ7t/GEi9MyT3t2rmu68uUZzTzt5rDQI9YyW/6//+OCFCFYmrslsaBz4hvOUTFe qX2Vq48uxUqahfVgSYduOCbifcmg/IKSV5F45azmRSltIPRHM/swwV46Xf4w6QegqrZMv/ Bhv6x+fxt98b1WEOSUOhPPinHZ1ga05/swlB7k9Wlvk/jmR9uEp/LjovSy9M/gJoJiSX5y 7hEhy9azUqAEPAOa2ua23O4bbmMxjvFP2J49K9o8bxTrnLgRyXvxyoWpbejO3lv8UekChk PIBahnBXVqS56CKvIkAmDJood+U/US8coYRV0X2I/cbkEehDUojTaIeLc+IPjw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMpTM-0002dv-Ar; Fri, 21 Jul 2023 08:43:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMpTK-0002dU-76 for guix-patches@gnu.org; Fri, 21 Jul 2023 08:43:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMpTJ-00049s-Sf for guix-patches@gnu.org; Fri, 21 Jul 2023 08:43:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMpTJ-0008Co-OI for guix-patches@gnu.org; Fri, 21 Jul 2023 08:43:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64765] [PATCH] gnu: home: zsh: Also load enviroment in non-login shells Resent-From: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 Jul 2023 12:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64765 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Saku Laesvuori Cc: 64765@debbugs.gnu.org Received: via spool by 64765-submit@debbugs.gnu.org id=B64765.168994337231522 (code B ref 64765); Fri, 21 Jul 2023 12:43:01 +0000 Received: (at 64765) by debbugs.gnu.org; 21 Jul 2023 12:42:52 +0000 Received: from localhost ([127.0.0.1]:60837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMpTA-0008CM-04 for submit@debbugs.gnu.org; Fri, 21 Jul 2023 08:42:52 -0400 Received: from mail.envs.net ([5.199.136.28]:32968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMpT6-0008C6-3Z for 64765@debbugs.gnu.org; Fri, 21 Jul 2023 08:42:50 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id E27B638A18D6; Fri, 21 Jul 2023 12:42:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1689943365; bh=f5YskNbFErpUexD/WHB3up3tbgGF/sUhO5QjfrZiJAc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=o0+xGX6Vvj1GqHUb0HVxAdcTs37jELJfAK44QeW35KxWjyQKn3DlI2ZqW+27gkAIm A4zAxmn+ghe/DGg64N3c8kJbbrU9yHL64tVQWpdqdeCOnamJgDk32sn6DfbfTGBQN1 ZHJg4gbbCQaySwZpQ/70Z+wqDbyn512rpOfff5AdEW4hHIbBFpOaEQdz+08j8rdEhc jAJ9lEoTthaaO1NihrdkG4WvifZJfHGpoGVA8juWl/pZbZyamiXVoztq4dDX6bkHzI X5XY8DpIHgL9kuLjHXHBhePDOwJ3kZ+NBKO8ger55Pv+VTSM9KEuj0FTbQ/FPuhlqB /l9j8uHXqcgxB9nedT1PIc1XPuF0DGig6AbEvxXTqj5Pco418JVQG4mqZAr0sOydRI A5yUGilvTbpLWr1ak37GK9Y0G2/CbdVZksb7dQk58SMA2A3rFudllXQOPsMOg92M4K kgOkUpJo6IiMez/1cG8nPh6Fu65FAhG8FxxWe/M+n8rMNhSqPR6OYHn0aT9ufPMAnj T5TLUrprl4c+1wQa4ibHDzAH6gx5TiDVTuaq4yiQ4wyRcdjHSsp9eAmV/DhzmefmMU /wpmsC+b0WEZRiCQEpyQB74+qUDY2sYJt25gdMkNbrLuj/VqCgUfmhADSj8rfjUtdN p781JBBEFO7wp9mrGUnUF66A= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id dSoFI7_5c5jp; Fri, 21 Jul 2023 12:42:42 +0000 (UTC) Received: from localhost (unknown [117.174.235.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Fri, 21 Jul 2023 12:42:42 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 8400fc8f; Fri, 21 Jul 2023 12:42:34 +0000 (UTC) References: <20230721105801.10840-1-saku@laesvuori.fi> Date: Fri, 21 Jul 2023 20:42:34 +0800 In-Reply-To: <20230721105801.10840-1-saku@laesvuori.fi> (Saku Laesvuori's message of "Fri, 21 Jul 2023 13:51:19 +0300") Message-ID: <87bkg5h1vp.fsf@envs.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= X-ACL-Warn: , =?utf-8?b?5a6L5paH5q2mIHZpYSBHdWl4LXBhdGNoZXM=?= From: =?utf-8?b?5a6L5paH5q2mIHZpYSBHdWl4LXBhdGNoZXM=?= via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -5.15 X-Migadu-Queue-Id: 4191866223 X-Migadu-Spam-Score: -5.15 X-Migadu-Scanner: mx0.migadu.com X-TUID: mT2Qni0Pff7T Saku Laesvuori writes: > * gnu/home/services/shells.scm (zsh-file-zshenv): Add snippet to source > profiles. > (zsh-file-zprofile): Remove profile sourcing snippet. > (zsh-get-configuration-files): Always add .zshenv as it is never empty. > Check that .zprofile is not empty before adding it. > --- > The service incorrectly assumed that shells are either login shells or > started from another shell. For example, ssh with a command argument > starts shells that aren't login shells nor started from another shell. Hello, this looks reasonable to me, only one question: Will ~/.guix-home/profile/etc/profile be sourced multiple times with duplicated search-path entries? (eg: check 'env' in 'zsh' in 'zsh').