From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KLqEDEwQpGIZ7gAAbAwnHQ (envelope-from ) for ; Sat, 11 Jun 2022 05:47:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GHdfDEwQpGKRKgEAauVa8A (envelope-from ) for ; Sat, 11 Jun 2022 05:47:24 +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 9DB3C2D1E7 for ; Sat, 11 Jun 2022 05:47:23 +0200 (CEST) Received: from localhost ([::1]:44306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzs5p-0003E6-V5 for larch@yhetil.org; Fri, 10 Jun 2022 23:47:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzs5X-0003Dm-4X for bug-guix@gnu.org; Fri, 10 Jun 2022 23:47:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57748) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzs5W-0001Fl-RA for bug-guix@gnu.org; Fri, 10 Jun 2022 23:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nzs5W-0004gk-Q8 for bug-guix@gnu.org; Fri, 10 Jun 2022 23:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55484: Setup PS1 for 'guix shell/environment' in guix-install.sh Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 11 Jun 2022 03:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55484 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 55484@debbugs.gnu.org Received: via spool by 55484-submit@debbugs.gnu.org id=B55484.165491916717915 (code B ref 55484); Sat, 11 Jun 2022 03:47:02 +0000 Received: (at 55484) by debbugs.gnu.org; 11 Jun 2022 03:46:07 +0000 Received: from localhost ([127.0.0.1]:51640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzs4d-0004es-0u for submit@debbugs.gnu.org; Fri, 10 Jun 2022 23:46:07 -0400 Received: from mail-qt1-f178.google.com ([209.85.160.178]:41747) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzs4X-0004eD-Vg for 55484@debbugs.gnu.org; Fri, 10 Jun 2022 23:46:06 -0400 Received: by mail-qt1-f178.google.com with SMTP id k4so664140qth.8 for <55484@debbugs.gnu.org>; Fri, 10 Jun 2022 20:46:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=3Ki91uLqf2BuXGEiJl0wYhkD5FDlIyy328o4wufBSGo=; b=KMA/pY9tY9I1ZSP9gfr8wzV4Rrr6c2IvEEG+K53ObjksKUm3JgN6xOlBtCFdqrAjTQ g76FCCX0ebmDe+K/HZIeQYG+Xv9/B1UQFLwAMNnWReaU5CRzbjWdMY+T5akbySrOHJvG 2/r90WA+ix9aTZu4uMGVoRfjdLf0sZF7/AzMGAOaU4iHSRx2sBKUzL8/JAPrNXI3w3QS MmwH5EEpyUPvv4kT/9g1Y8m5l2XbxAAQ5+O50/y4zx1uf9e7/5sp16EPKP/xB++RHKuM PI6cWESWai8h8qCXYdxTMpEdkxAtuafmvis8aoKdSHVDU5hzVYj+GeYUQKvXcBbg/r/N bjrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=3Ki91uLqf2BuXGEiJl0wYhkD5FDlIyy328o4wufBSGo=; b=1LPwgpFZkRdreGpLs+Ze2Wv2I9J6zJ0IEP/GlZ7eBCWf0NRoP0LfAws57AQV+my9eB a7KYPjLDhPvhvsA2olSH/Y2g6niLqNkPExBQDVxE0HxC14njDZCrh9mYuhvsuqXWiFE5 RrSGPlV5ddSHkB8Ev4RjWlSuH4UtMwmUG+2XFno1uwH3J3AFgm0a6NtIiwRRpjwXy09z nDZllmn0OljWVWaIlBflODbHLIfmwGX2+afLUauwYExgy43WG/FvAE4zl1/JXS//uQ62 2SgbVhFK7BccPSoXVtAMkteCSTa5+XPeHOEnduAQJVyIVciW26RZcHS7wf604FJ+Vyus XQSg== X-Gm-Message-State: AOAM530qc55vq9bwPvuwCKwKp3mJGIAXTwpX6QLTF0Wr3P0BgsKvFoqj 6+D7dkTKvcPm8GZp3VYBcqcQpTEVODr7Og== X-Google-Smtp-Source: ABdhPJxcW3xZuNG4/Amu8zIu2uvtWg7ZD9osXgE+uHmXqd9NZYCcpkJZ7EDQ1cCVaxm9GdeIZYV8ow== X-Received: by 2002:a05:622a:1a82:b0:304:da37:85bb with SMTP id s2-20020a05622a1a8200b00304da3785bbmr35776487qtc.347.1654919155748; Fri, 10 Jun 2022 20:45:55 -0700 (PDT) Received: from hurd (dsl-155-254.b2b2c.ca. [66.158.155.254]) by smtp.gmail.com with ESMTPSA id z18-20020ac87cb2000000b0030515374a6asm622635qtv.51.2022.06.10.20.45.53 for <55484@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jun 2022 20:45:54 -0700 (PDT) From: Maxim Cournoyer References: <87v8u4i3x3.fsf@gmail.com> Date: Fri, 10 Jun 2022 23:45:47 -0400 In-Reply-To: <87v8u4i3x3.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 17 May 2022 11:18:00 -0400") Message-ID: <87leu3g8wk.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654919243; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=3Ki91uLqf2BuXGEiJl0wYhkD5FDlIyy328o4wufBSGo=; b=haHVhDiB9cGqxgzQIKEzyH61cKw4DWMYZuRoHsZ8suIR29vDQE0sbSdaRSfSewiRAoIFba BHW9MUI3wUuC7kgQrIrQ/9/UXi96XD2uxWJlBGaxPYu7lx7o7pHofCybGLgnfSuZs3ocuw ZIufxIMSuEu9Kx8quOaUeLvddnvbgxKIE4QXnTYLBMd/41UineFkT0TLCJgmT1zWUHYs0R gwQmKw/nJkFWxs6M/kpn+EHR0Mx60AHZLTRB4cwrqjT/bI4FASpOCvQoLux3IjvtSd8vVq AmHIKBoAN96K6Dty7k2Vki2V6DSGMn0kbyEwrM8cT20cSpAW7qz9A27i4CC8nw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654919243; a=rsa-sha256; cv=none; b=Juk73E29elEV8u0gVDkteh2g7r8Qqu3MJ0Bt5Pjng1f3SdhcQr8kPJaHOQyeDMj9lx/jGv cJqk429Kp+TwBwwp6ndI4/GmRWRP3XVHq0qoWqgmwqLBYfo5f+u6UXz4+K5d/YVqzM2MDw edh2y8pStENZWs5B4vu0Ruyag8hsbmKjiA+QCCu11E+a8wi00SfxgkRYWMI/biPO/5NJFJ Wv5pKzThmAUBpNoNdMHUkt+q1BCPcn2bYkfwRKw4tJXInGaI4JkhdyI1Oboj47x54r0cs2 jnCD0ZPTcBh7wt4oxPqOSzGeWVWzusfCiT5vK7Drf8CNFuOP9L9rf1IWW+laQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="KMA/pY9t"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.72 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="KMA/pY9t"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9DB3C2D1E7 X-Spam-Score: 4.72 X-Migadu-Scanner: scn0.migadu.com X-TUID: yq6nJBZhTN3P Hi, Maxim Cournoyer writes: > Hello Guix, > > This is a feature request to take care of configuring PS1 in ~/.bashrc > (or the most suitable place) for users of guix-install.sh. > > It's a small thing but it provides a nicer user experience when they can > visually see they have entered a Guix environment. This may be a bit more involved then simply appending the snippet to their ~/.bashrc (if available), as Debian for example ships its own PS1 configuration there. I guess we could prompt the user whether they want the script to override their PS1 configuration. Maxim