Prevent MacPorts editing .bash_profile over and over again...
barry at barrys-emacs.org
Sat Jan 28 21:56:03 UTC 2017
> On 28 Jan 2017, at 16:37, Christopher Jones <jonesc at hep.phy.cam.ac.uk> wrote:
> It would be better yet if whatever it is that does this first checks to see in the path it is about to add is already in the users PATH, and does not add it again if already there…
That would be an improvement.
I would also like a way to say never edit my .bash_profile.
Maybe a comment line specially formated.
# MacPorts: no-edit-path
>> On 28 Jan 2017, at 4:31 pm, Barry Scott <barry at barrys-emacs.org> wrote:
>> I want to be able to stop MacPorts Installation from editing my .bash_profile.
>> As it happens I already set all the env var that are needed my self.
>> Is there a “do-not-edit-bash-profile” settings somewhere?
>> So far I have 3 sets of the settings in the same file.
More information about the macports-users