One thing I used to find annoying is when an upgrade would wipe out my .bashrc. Long ago I created a .bash.d directory, within which I split up my .bashrc into separate files for easier maintenance.
So my ~/.bashrc is a one-liner: source ~/.bash.d/bashrc and ~/.bash.d/bashrc is a set of includes for rc in ~/.bash.d/* ; do [ -x $rc ] && source $rc ; done Within ~/.bash.d are the files aliases bashrc completions funcs local paths prompt "local" is for stuff specific to the one system. The other files are common across all my systems. On Tue, Oct 30, 2012 at 7:50 AM, Glenn Hoffman <glennhoff...@mac.com> wrote: > I'm teaching an Introduction to Linux/Unix class at UMass/Boston. I've just > told the class about the different type of shells (login, interactive > non-login in, non-interactive) and the startup files for each. I've never > been able to give a class a good reason for the existence of .bashrc, since I > have never used it myself. What's the reason for a separate startup file for > a non-login interactive shell? > > Glenn > > _______________________________________________ > Discuss mailing list > Discuss@blu.org > http://lists.blu.org/mailman/listinfo/discuss -- John Abreau / Executive Director, Boston Linux & Unix PGP KeyID: 32A492D8 / Email: abre...@gmail.com PGP FP: 7834 AEC2 EFA3 565C A4B6 9BA4 0ACB AD85 32A4 92D8 _______________________________________________ Discuss mailing list Discuss@blu.org http://lists.blu.org/mailman/listinfo/discuss