public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Difficulty with updating /etc/basb/bashrc
@ 2024-06-14 15:53 Alan Mackenzie
  2024-06-14 16:22 ` netfab
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: Alan Mackenzie @ 2024-06-14 15:53 UTC (permalink / raw
  To: gentoo-user

Hello, Gentoo.

I performed a portage update today, and at the end it informed me I had
to deal with /etc/bash/bashrc.  This file's standard version has changed,
and I have apparently made changes in my own copy.

But the new file from portage bears no resemblance to my existing
version.  It is just 32 lines long compared to the existing file of 111
lines.  The existing file does things like setting up PS1 and colours,
the new one doesn't seem to.

My main problem is that I don't know which parts of the existing bashrc
are my changes (which I'd want to keep) and which parts were the standard
bashrc (which I can allow to be superseded by the new version).

I think portage is at fault here - it should retain the older standard
version of /etc/bash/bashrc so that users can resolve the differences
with a 3-way diff.

Right now, I have a problem.  Is there any convenient way I can get the
older standard file contents back again, so as to be able to do this
3-way diff?

Or any other suggestions?

Thanks!

-- 
Alan Mackenzie (Nuremberg, Germany).


^ permalink raw reply	[flat|nested] 23+ messages in thread
[parent not found: <IPhvk-2UIJ-3@gated-at.bofh.it>]

end of thread, other threads:[~2024-06-17  7:25 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-14 15:53 [gentoo-user] Difficulty with updating /etc/basb/bashrc Alan Mackenzie
2024-06-14 16:22 ` netfab
2024-06-14 17:33   ` Alan Mackenzie
2024-06-14 17:47     ` netfab
2024-06-14 17:52     ` netfab
2024-06-15 19:52       ` Alan Mackenzie
2024-06-15 11:39     ` Peter Humphrey
2024-06-16 14:26     ` [gentoo-user] " Nuno Silva
2024-06-14 18:25 ` [gentoo-user] " Vitaliy Perekhovy
2024-06-14 20:54   ` Jack
2024-06-15  6:38     ` Vitaliy Perekhovy
2024-06-15 22:00       ` Jack
2024-06-15 22:24         ` Peter Humphrey
2024-06-15 19:58   ` Alan Mackenzie
2024-06-14 23:43 ` Paul Colquhoun
2024-06-15  8:51   ` Re[2]: " Stefan Schmiedl
2024-06-15 20:10   ` Alan Mackenzie
2024-06-17  7:25     ` Wols Lists
2024-06-15 16:39 ` Wol
     [not found] <IPhvk-2UIJ-3@gated-at.bofh.it>
2024-06-14 16:19 ` Mike Civil
2024-06-14 17:39   ` Alan Mackenzie
2024-06-14 18:08     ` Waldo Lemmer
2024-06-15 17:14     ` Wol

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox