From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0A49B15813A for ; Mon, 13 Jan 2025 19:54:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32EF0E07FA; Mon, 13 Jan 2025 19:54:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 10CD2E07FA for ; Mon, 13 Jan 2025 19:54:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3E7B1340BEA for ; Mon, 13 Jan 2025 19:54:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A8D781677 for ; Mon, 13 Jan 2025 19:54:48 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1736797811.ac4b4c5c9f251c5dfb11c80782dd8cf1f6d81c04.grobian@gentoo> Subject: [gentoo-commits] proj/prefix/prefix-toolkit:main commit in: / X-VCS-Repository: proj/prefix/prefix-toolkit X-VCS-Files: startprefix X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: ac4b4c5c9f251c5dfb11c80782dd8cf1f6d81c04 X-VCS-Branch: main Date: Mon, 13 Jan 2025 19:54:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fe19d213-f1f2-4c42-8ed6-998621d11f4d X-Archives-Hash: 9f013074146ba3082cced89651ce3d20 commit: ac4b4c5c9f251c5dfb11c80782dd8cf1f6d81c04 Author: Fabian Groffen gentoo org> AuthorDate: Mon Jan 13 19:50:11 2025 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Mon Jan 13 19:50:11 2025 +0000 URL: https://gitweb.gentoo.org/proj/prefix/prefix-toolkit.git/commit/?id=ac4b4c5c startprefix: give hint how to stop using Gentoo Prefix env This is based on the work from David Palao gmail.com>. The wording is somewhat different, but to the extent to give a hint that exiting the shell is also leaving the Gentoo Prefix environment. Closes: https://github.com/gentoo/prefix-toolkit/pull/1 Signed-off-by: Fabian Groffen gentoo.org> startprefix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/startprefix b/startprefix index c720b1d..f9aeaab 100644 --- a/startprefix +++ b/startprefix @@ -50,7 +50,8 @@ fi export SHELL # give a small notice -echo "Entering Gentoo Prefix ${EPREFIX}" +echo "Starting Gentoo Prefix shell ${SHELL}" +echo "[exit the shell to deactivate Gentoo Prefix]" # start the login shell, clean the entire environment but what's needed RETAIN="HOME=$HOME TERM=$TERM USER=$USER SHELL=$SHELL" # PROFILEREAD is necessary on SUSE not to wipe the env on shell start