From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/zsh/files/
Date: Sun, 15 May 2022 12:45:37 +0000 (UTC) [thread overview]
Message-ID: <1652618441.7e647e02c4f09ffb0df70a5d3771d0f834e15849.polynomial-c@gentoo> (raw)
commit: 7e647e02c4f09ffb0df70a5d3771d0f834e15849
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri May 13 09:22:39 2022 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sun May 15 12:40:41 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e647e02
app-shells/zsh: restore color change on su
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/25461
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
app-shells/zsh/files/prompt_gentoo_setup-1 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-shells/zsh/files/prompt_gentoo_setup-1 b/app-shells/zsh/files/prompt_gentoo_setup-1
index 046e2d87f53a..8b9ac4439919 100644
--- a/app-shells/zsh/files/prompt_gentoo_setup-1
+++ b/app-shells/zsh/files/prompt_gentoo_setup-1
@@ -14,7 +14,7 @@ prompt_gentoo_setup () {
local prompt_gentoo_user=${2:-'green'}
local prompt_gentoo_root=${3:-'red'}
- if [ "$USER" = 'root' ]
+ if [ "$EUID" = '0' ]
then
local base_prompt="%B%F{$prompt_gentoo_root}%m%k "
else
next reply other threads:[~2022-05-15 12:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-15 12:45 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-22 23:22 [gentoo-commits] repo/gentoo:master commit in: app-shells/zsh/files/ Conrad Kostecki
2024-02-08 17:34 Mike Gilbert
2023-06-11 15:32 Sam James
2023-06-11 15:32 Sam James
2022-09-16 1:50 Sam James
2021-03-21 16:34 Lars Wendler
2019-11-08 2:44 Aaron Bauman
2019-02-14 8:38 Fabian Groffen
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=1652618441.7e647e02c4f09ffb0df70a5d3771d0f834e15849.polynomial-c@gentoo \
--to=polynomial-c@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