Re: Prevent any Linux package installer modifying by appending into ~/.bashrc
Reply #2 –
Or copy ~/.bashrc to ~/.mybashrc (or similar)
edit ~/bash_profile to point at the copy
[[ -f ~/.mybashrc ]] && . ~/.mybashrc
Then if you have issues in the future where things don't work you can refer to ~/.bashrc to see what a package is expecting in the PATH or environment variables etc.