From: "Sven Wegener" <swegener@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/bash/files/
Date: Thu, 4 Jan 2018 23:48:43 +0000 (UTC) [thread overview]
Message-ID: <1515109695.f0ad1ef0c4826494a4c8bd00fefd4d55931359fc.swegener@gentoo> (raw)
commit: f0ad1ef0c4826494a4c8bd00fefd4d55931359fc
Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 4 23:47:58 2018 +0000
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Thu Jan 4 23:48:15 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0ad1ef0
app-shells/bash: Remove redundant code in bashrc, bug #625304
Closes: https://bugs.gentoo.org/625304
Package-Manager: Portage-2.3.14, Repoman-2.3.6
app-shells/bash/files/bashrc | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/app-shells/bash/files/bashrc b/app-shells/bash/files/bashrc
index 03694691d4a..8d9c29738b6 100644
--- a/app-shells/bash/files/bashrc
+++ b/app-shells/bash/files/bashrc
@@ -97,12 +97,8 @@ if ${use_color} ; then
alias egrep='egrep --colour=auto'
alias fgrep='fgrep --colour=auto'
else
- if [[ ${EUID} == 0 ]] ; then
- # show root@ when we don't have colors
- PS1+='\u@\h \w \$ '
- else
- PS1+='\u@\h \w \$ '
- fi
+ # show root@ when we don't have colors
+ PS1+='\u@\h \w \$ '
fi
for sh in /etc/bash/bashrc.d/* ; do
next reply other threads:[~2018-01-04 23:48 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-04 23:48 Sven Wegener [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-04 22:47 [gentoo-commits] repo/gentoo:master commit in: app-shells/bash/files/ Conrad Kostecki
2024-12-07 12:48 Sam James
2024-12-07 12:48 Sam James
2024-12-06 23:12 Conrad Kostecki
2023-12-31 2:38 Conrad Kostecki
2023-04-26 21:08 Mike Gilbert
2023-04-25 21:30 Sam James
2023-03-04 19:29 Sven Wegener
2022-11-16 18:36 Conrad Kostecki
2022-09-11 23:13 Mike Gilbert
2021-07-10 21:16 Conrad Kostecki
2021-05-29 18:51 Lars Wendler
2020-12-01 13:16 Lars Wendler
2020-06-13 16:24 Mike Gilbert
2019-09-15 7:53 Mike Frysinger
2018-06-26 15:05 Mike Gilbert
2017-10-20 7:45 Patrice Clement
2017-06-10 12:02 Jason Donenfeld
2017-06-10 3:07 Jason Donenfeld
2017-06-10 3:06 Jason Donenfeld
2016-07-16 9:54 Patrice Clement
2016-06-23 6:03 Mike Frysinger
2016-06-23 5:31 Mike Frysinger
2016-02-03 18:52 Mike Frysinger
2016-02-03 18:52 Mike Frysinger
2016-02-03 18:52 Mike Frysinger
2016-02-03 18:52 Mike Frysinger
2016-02-03 18:52 Mike Frysinger
2016-02-03 18:52 Mike Frysinger
2016-01-26 7:23 Mike Frysinger
2016-01-26 7:23 Mike Frysinger
2016-01-26 7:23 Mike Frysinger
2015-12-02 18:59 Mike Frysinger
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=1515109695.f0ad1ef0c4826494a4c8bd00fefd4d55931359fc.swegener@gentoo \
--to=swegener@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