FS#21540 - Generate a .pacnew file for bash.bashrc when re-installing bash. I lost all my settings on accident.

Attached to Project: Arch Linux
Opened by trusktr (trusktr) - Sunday, 31 October 2010, 01:57 GMT
Last edited by Andrea Scarpino (BaSh) - Monday, 01 November 2010, 00:50 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I lost all my cool command prompt style and functionality when I re-installed base and base-devel.

Simple .pacnew or .pacsave functionality would be convenient for the bash.bashrc file.

I know there is the home folder for personalized settings, but I'm trying to have system wide standards as a starting point for when i install new Arches on family or friends' computers.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Monday, 01 November 2010, 00:50 GMT
Reason for closing:  Won't fix
Additional comments about closing:  pacman already provides backups for /etc/{profile.bash,skel/{.bashrc,.bash_p rofile}}
Comment by Gerardo Exequiel Pozzi (djgera) - Sunday, 31 October 2010, 06:12 GMT
use /etc/bash.bashrc.local for that purpose
Comment by trusktr (trusktr) - Sunday, 31 October 2010, 06:19 GMT
bash automatically looks at bash.bashrc.local?
Comment by Gerardo Exequiel Pozzi (djgera) - Sunday, 31 October 2010, 07:01 GMT
Technically no, this is done by /etc/bash.bashrc (see last line)
Comment by Allan McRae (Allan) - Sunday, 31 October 2010, 08:49 GMT
I would personally use /etc/skel/.bash{rc,_profile} for those. Or even, /etc/profile.bash. All of those a backed up.
Comment by pluckypigeon (pluckypigeon) - Monday, 01 November 2010, 00:48 GMT
  • Field changed: Percent Complete (100% → 0%)
Maybe pacman should provide warnings when rewriting files in /etc directory. the user wouldn't have known that this file would be rewritten

Loading...