Prevent MacPorts editing .bash_profile over and over again...

Peter West lists at
Tue Mar 21 23:04:21 UTC 2017

> On 21 Mar 2017, at 11:30 pm, Jan Stary <hans at> wrote:
> The same error is there now.
> After a fresh install of 2.4.1 yesterday,
> 'port' is not found, because /opt/local/bin is not in my PATH.
> The installer has written the PATH=... bit into my ~/.profile,
> but that does not mean it is the PATH of the shell I am already running.
> It will be, after I start a new shell, or re-login.

. ~/.profile

Peter West
pbw at
“Even the pagans do as much, do they not?”

More information about the macports-users mailing list