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

Ryan Schmidt ryandesign at
Wed Mar 22 10:54:45 UTC 2017

> On Mar 22, 2017, at 05:41, Brandon Allbery <allbery.b at> wrote:
> On Wed, Mar 22, 2017 at 5:48 AM, Ryan Schmidt <ryandesign at> wrote:
> On Mar 21, 2017, at 18:21, Brandon Allbery wrote:
> > On Tue, Mar 21, 2017 at 7:18 PM, Brandon Allbery wrote:
> >> vim $(port logfile thePort)
> >
> > ...and the port you installed will usually get expanded with <esc>. (bash/zsh, in default emacs mode) so you don't even need to type that :)
> I'm not aware of this. Can you explain how to make this work?
> That was a little unclear... escape key followed by period. 

Ah, cool. Thanks.

On MacBook Pro with Touch Bar, pressing Esc is a bit of an adventure so retyping the port name is probably less error prone for me.

More information about the macports-users mailing list