From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] scripts: Add 'environment' command. Date: Sat, 11 Oct 2014 12:35:40 +0200 Message-ID: <8761fq99mr.fsf@gnu.org> References: <87oatmch5i.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> <87siix59cs.fsf@gnu.org> <87r3yg1wpp.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> <871tqgdt3o.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> <87y4sn9900.fsf@gnu.org> <87fvevdcfu.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> <87siivabzg.fsf@gnu.org> <877g07d0zd.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xcu1U-00023w-KA for guix-devel@gnu.org; Sat, 11 Oct 2014 06:35:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xcu1O-0000ue-LI for guix-devel@gnu.org; Sat, 11 Oct 2014 06:35:40 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:54281) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xcu1O-0000uQ-DJ for guix-devel@gnu.org; Sat, 11 Oct 2014 06:35:34 -0400 In-Reply-To: <877g07d0zd.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> (David Thompson's message of "Fri, 10 Oct 2014 18:16:38 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: David Thompson Cc: guix-devel@gnu.org David Thompson skribis: > Fixed typo and pushed! Yay! I just noticed that =E2=80=98guix environment foo=E2=80=99, without -E, doe= sn=E2=80=99t work for me because my .bashrc & co. reset PATH, CPATH, etc. Conversely, =E2=80=98guix environment foo -E /bin/sh=E2=80=99 works, becaus= e when invoked as =E2=80=98sh=E2=80=99, Bash does not read .bashrc. I=E2=80=99m not sure if it=E2=80=99s something wrong with my Bash initializ= ation files or something that might affect others. WDYT? Thanks, Ludo=E2=80=99.