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 ms8.migadu.com with LMTPS id iKhCHoAlNGXefgAAauVa8A:P1 (envelope-from ) for ; Sat, 21 Oct 2023 21:24:48 +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 iKhCHoAlNGXefgAAauVa8A (envelope-from ) for ; Sat, 21 Oct 2023 21:24:48 +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 3490A669CF for ; Sat, 21 Oct 2023 21:24:48 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=YheDP+KA; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697916288; h=from:from:sender:sender: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=GYvDu371smkgu+tZEtrlkZYPxoQn0uW8JRYSFNx8rOQ=; b=MjwiiTv4Ff/GdUNNJh+YgG2g7eRMDlurrHicftgJGhiKQU1XWm7s9/byznFrWr15KEm2gC zlQ8aRxig8vbv2e9LFS/NC0WtdK0udt3pBewuCmzjCCEQwrn9dDIpDFgYW2xv421or0Ls6 qANO5gqGJm1BpJOcE9aS8Oskls7Q14Yjls6m1/s1ghtgOgaI9+WFbMi4jhgme9+N7/KDmI 9ny9VEbE4Xx2yYYZQXE9pxHlxtKA1HhkCBHpBnrIQfVGX6KJOXk+YTbDTGSVC2IchZj9LC h/J2yqDVwTwr8qw5MWDPjxPVd3aN6d9SsbavBmJrQIOcUchgTQ/Vo+CPFbun1Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697916288; a=rsa-sha256; cv=none; b=WOGERvnYpSEl7hqNF3lXVyHltCQd7orpAb3bWifwp0Gj95ZYfkRxbrgOebKBAlGI9wCXkj +CrcBDnPSrdLSPgbSmvDkxiM6gLzf+D5k1yS7ketjctRvQTmVIEtxSdJOjHdNB8/LuJN6r ePvO4BYtetJIvi4dl6XGZMsUCHQ3+T1Cl/z+tAXkIPnBS9vhuiKHmAT/RbRMULs0w2M4PT L0HUFprCX+lPStzrjlpQpVG0HCymZVhyFT9wBflvJyh0NZvaFkkSW+40IJS8o3Sd/FbrOS +93WuL/Dl9XoK+QNIp0ojypPk7h5uGOfhly1PxqH3hGICy3SMOn+Oi8KODewcQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=YheDP+KA; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1quHaN-0004P7-RP; Sat, 21 Oct 2023 15:24:35 -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 1quHaM-0004OY-Jf for guix-patches@gnu.org; Sat, 21 Oct 2023 15:24:34 -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 1quHaM-0007lB-Ap for guix-patches@gnu.org; Sat, 21 Oct 2023 15:24:34 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1quHao-00018w-7x for guix-patches@gnu.org; Sat, 21 Oct 2023 15:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42752] [PATCH core-updates] gnu: bash: Make completions work in non-login shells. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 21 Oct 2023 19:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42752 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= , 42752@debbugs.gnu.org Received: via spool by 42752-submit@debbugs.gnu.org id=B42752.16979162814251 (code B ref 42752); Sat, 21 Oct 2023 19:25:02 +0000 Received: (at 42752) by debbugs.gnu.org; 21 Oct 2023 19:24:41 +0000 Received: from localhost ([127.0.0.1]:45082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quHaS-00016P-VJ for submit@debbugs.gnu.org; Sat, 21 Oct 2023 15:24:41 -0400 Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]:61515) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quHaP-00013m-Jj for 42752@debbugs.gnu.org; Sat, 21 Oct 2023 15:24:39 -0400 Received: by mail-qk1-x735.google.com with SMTP id af79cd13be357-778af1b5b1eso100077685a.2 for <42752@debbugs.gnu.org>; Sat, 21 Oct 2023 12:24:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697916244; x=1698521044; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=GYvDu371smkgu+tZEtrlkZYPxoQn0uW8JRYSFNx8rOQ=; b=YheDP+KAnYy2I9N96jWLqcj+pkOdU+doj2EnYSdiv8RDmHL2cyviIuu6/NFDEMfkBn hmTbGgw9jFctRmm57uX9rqPJhkeNc0X+J0hsbPxSlHD6YxXXLo4ny85KZXyfmYWEqCv7 qaxZK0byZjMAE/imp/5hSc6EnPVklHyOhMfkwBqwWbP2zV80rMhP5ktZ4UHixnlBEqR6 Y+hjT781eparP7G8akaTx0BY9a013H90eAmlxGXFgcw03VPp4/Mz/S5crWE870urqhEx rxf7Kl3hseU7A6RF/8+0I8qs5QI6QTD9N3hQTYLwny3sQNY8R8bDm+Fk1E+pdpNz28i3 3FXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697916244; x=1698521044; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=GYvDu371smkgu+tZEtrlkZYPxoQn0uW8JRYSFNx8rOQ=; b=E8aoHVO7ibDaFIbfYamLdLbUFIYYU/TD2l92aXgBBbcxBh5y+HlO5vKI4LqSclr17P xvcXeDayLQrJFi58CSo+YwlC0ba9bNCD57wQL0ErYaYoZP+jub3iGvybTp76BoSKxMjA Rc41U715jhhDM/fqnYN+LZQOSXXWiEbb2slxkBnHZGhEuCykbDhacH4dCVKu5IOED0yr qsyXmdeMR4FSlm+Uqti8+Z1Ng5gov1bEluMc3Uw6tO1XvqHge79sTAuzLWSiVS0krQBX 0qHGuTmXuin8ay8IAUJtHhjQVWoPuE6BLWCJXBJgM8SzXlGm8GVUWXmGkTiSuH4tjYeM ndTg== X-Gm-Message-State: AOJu0Yx4NGTUHZ4qBPxw1vn9zYERrK55sA2JZC8n55m4b/u9QN/XAD9u 5hSirznNE1yza6LVFYV20843AEeCpu+ZoA== X-Google-Smtp-Source: AGHT+IFQom0A9rntkR+cFVhQKd6QpExI2/yctIYdJptXjybuWsIsqmpMDHQJ7YY2guBeOdKqDL9I0w== X-Received: by 2002:a05:620a:307:b0:777:258e:f7a5 with SMTP id s7-20020a05620a030700b00777258ef7a5mr4789309qkm.23.1697916243824; Sat, 21 Oct 2023 12:24:03 -0700 (PDT) Received: from hurd (dsl-205-236-230-191.b2b2c.ca. [205.236.230.191]) by smtp.gmail.com with ESMTPSA id cx22-20020a05620a51d600b007788bb0ab8esm1531395qkb.19.2023.10.21.12.24.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Oct 2023 12:24:03 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: <874kp9y3ka.fsf@gnu.org> (Mathieu Othacehe's message of "Tue, 11 Aug 2020 10:44:37 +0200") References: <20200807221439.729-1-kuba@kadziolka.net> <87k0y6hmyv.fsf@gnu.org> <20200810144141.52fpzv6m4kqp3jix@gravity> <874kp9y3ka.fsf@gnu.org> Date: Sat, 21 Oct 2023 15:24:02 -0400 Message-ID: <875y2zeq3x.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) 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: , 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: 3.26 X-Migadu-Queue-Id: 3490A669CF X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: 3.26 X-TUID: LLa9kH0SfJtJ Hi, Mathieu Othacehe writes: > Hello, > >> Oh! It seems I overwrote it with my own .bashrc when I migrated my >> dotfiles. I still think this patch is a good idea - I think we should >> make /etc/skel/.bashrc contain only nice-to-have defaults, such as >> changing the prompt based on $GUIX_ENVIRONMENT, and move the essential >> things to /etc/bashrc. That way, overwriting the .bashrc won't break >> anything important. >> >> I guess I should follow this patch up with an adjustment to >> /etc/skel/.bashrc, removing the 'source /etc/bashrc' line? > > That would make sense. Maybe you could replace the sourcing by a comment > explaining how bash behaviour is altered to source /etc/bashrc for > interactive, non-login shell. I somewhat weary of the undefined behavior this could have on foreign distributions? I'll close this, but feel free to continue discussing it here. -- Thanks, Maxim