Web lists-archives.com

Re: Strange .bashrc Problem




Thanks for the reply.

Adding the lines from your .bash_profile to mine restored the functionality of .bashrc.

I don't have any backups of .bash_profile, but I would guess the the HEX installation script woped out the origional .bash_profile. ( I try to never assume anything as we all know how that work can be parsed).

An any rate, my thanks for the answers.

The assistance that is so forthcoming is one of the things that makes Linux the OS of choice!

On 04/25/2018 03:40 PM, Andy Smith wrote:
Hello,

On Wed, Apr 25, 2018 at 03:34:02PM -0400, Stephen P. Molnar wrote:
Whie the additional lines are necessary for the execution of HEX they seem
to have wiped oour all of the alias entries I have in .bashrc.  Rebooting
the system does not eliminate the problem!  Bu bumbling about I discovered
the it is necessary to source .bashrc inorder to recticate the alias lines
in .bashrc (note:  commenting out the added lines in .bash_profile did not
solve the problem).
My .bash_profile contains:

# include .bashrc if it exists
if [ -f ~/.bashrc ]; then
     . ~/.bashrc
fi

Does yours (still)?

Maybe you could compare your ,bash_profile now to one from your
recent backups.

Cheers,
Andy


--
Stephen P. Molnar, Ph.D.
Consultant
www.molecular-modeling.net
(614)312-7528 (c)
Skype: smolnar1