From: "Fabian Groffen" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/prefix/prefix-toolkit:main commit in: /
Date: Mon, 13 Jan 2025 19:54:48 +0000 (UTC) [thread overview]
Message-ID: <1736797811.ac4b4c5c9f251c5dfb11c80782dd8cf1f6d81c04.grobian@gentoo> (raw)
commit: ac4b4c5c9f251c5dfb11c80782dd8cf1f6d81c04
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 13 19:50:11 2025 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> 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 <david.palao <AT> 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 <grobian <AT> 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
next reply other threads:[~2025-01-13 19:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-13 19:54 Fabian Groffen [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-26 6:24 [gentoo-commits] proj/prefix/prefix-toolkit:main commit in: / Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1736797811.ac4b4c5c9f251c5dfb11c80782dd8cf1f6d81c04.grobian@gentoo \
--to=grobian@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox