[offtopic] Re: [PLUG] .profile
Jonathan Sergent
sergent@ETLA.NET
Thu, 02 Sep 1999 10:04:05 -0700
/// A Braunsdorf <ab@eas.purdue.edu>:
] So put your sh stuff in .profile and your bash stuff in .bash_profile.
] Even if it did run both, you could set a variable to stop anything
] bad from happening.
Alternatively, take a look at my super-duper dotfiles, which I use on
Solaris /bin/sh, Solaris /bin/ksh (ksh-88i plus Sun hacks), CDE dtksh
(ksh-93? plus CDE hacks), pdksh, bash 1.14.7, bash 2.03, and ash.
And with Solaris, Red Hat, and *BSD (probably a few more too).
Grab:
http://csociety.ecn.purdue.edu/~sergent/env.shar
Unshar it and then play with env/Makelinks and env/Local/* as needed,
then run Makelinks. It should back up anything that it replaces, but
don't come running to me if it kills your account. If anyone comes up
with changes or enhancements, let me know. If you need more things
in your $ENV on a particular machine, add them to ~/.shrc.local (or
twiddle Makelinks to recognize the machine and add them to
env/Local/shrc-$local).
Be sure to watch out for the .slrnrc and the .Xdefaults, which probably do
some Sergent-specific stuff.
--jss.