History in port's cmd line available?
Bradley Giesbrecht
brad at pixilla.com
Fri Jan 16 09:07:59 PST 2009
On Jan 16, 2009, at 8:23 AM, Joshua Root wrote:
> Eckhard Wiemann wrote:
>> Hi all,
>>
>> does anybody know if a command history is available in port's
>> interactive mode? It would be nice if I could correct type-errors
>> in a
>> more comfortable way than typing the line again. Tab-completion
>> would be
>> appreciated, too.
>
> It is available, but only if you install from the dmg, or build from
> source and pass --enable-readline to configure. (IOW, you lose
> readline
> support when you selfupdate.)
>
> An alternative would be to not use interactive mode and install the
> bash-completion port, which gives you tab completion for the port
> command.
That's a very nice tip. Thank you.
More information about the macports-users
mailing list