From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Danny O'Brien" Subject: bug#38243: Zsh does not load /etc/profile values by default Date: Sat, 16 Nov 2019 23:14:24 -0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000065ce0205978595c7" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48271) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWEm0-0003fl-1j for bug-guix@gnu.org; Sun, 17 Nov 2019 02:15:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iWElz-0000IU-0I for bug-guix@gnu.org; Sun, 17 Nov 2019 02:15:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59501) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iWEly-0000I2-Tl for bug-guix@gnu.org; Sun, 17 Nov 2019 02:15:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iWEly-0002mp-Fw for bug-guix@gnu.org; Sun, 17 Nov 2019 02:15:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:48235) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWElc-0003f6-4F for bug-guix@gnu.org; Sun, 17 Nov 2019 02:14:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iWEla-00084n-QS for bug-guix@gnu.org; Sun, 17 Nov 2019 02:14:40 -0500 Received: from mail-lj1-f169.google.com ([209.85.208.169]:40835) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iWEla-000847-Je for bug-guix@gnu.org; Sun, 17 Nov 2019 02:14:38 -0500 Received: by mail-lj1-f169.google.com with SMTP id q2so15192043ljg.7 for ; Sat, 16 Nov 2019 23:14:38 -0800 (PST) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 38243@debbugs.gnu.org --00000000000065ce0205978595c7 Content-Type: text/plain; charset="UTF-8" Right now, an installation of zsh as a primary shell won't read in the environmental settings in /etc/profile -- it looks for (but doesn't find) a /etc/zprofile file instead. Not sure what the correct approach should be here. We could symlink /etc/zprofile to /etc/profile , but that would require knowing that /etc/profile was always available. Or we could include a source'ing of /etc/profile in /etc/zprofile. I'm not sure what status /etc/profile holds in Guix -- is it the canonical location for any user-wide environment settings? Will it be guaranteed to be POSIXly correct, rather than having any bashisms? Thanks for your work, d. --00000000000065ce0205978595c7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Right now, an installation of zsh as a primary shell w= on't read in the
environmental settings in /etc/profile -- it looks = for (but doesn't
find) a /etc/zprofile file instead.

Not sure= what the correct approach should be here. We could symlink
/etc/zprofil= e to /etc/profile , but that would require knowing that
/etc/profile was= always available. Or we could include a source'ing of
/etc/profile = in /etc/zprofile.

I'm not sure what status /etc/profile holds in= Guix -- is it the
canonical location for any user-wide environment sett= ings? Will it be
guaranteed to be POSIXly correct, rather than having a= ny bashisms?

Thanks for your work,

d.
--00000000000065ce0205978595c7--