history completion possible?
Bradley Giesbrecht
brad at pixilla.com
Thu Feb 18 11:28:33 PST 2010
Marko, this is a nice feature if I can remember to use it. Thanks for
the thread.
// Brad
On Feb 18, 2010, at 9:03 AM, Marko Käning wrote:
> The solution is to create a file .inputrc in home directory
> containing:
> ---
> # these allow you to start typing a command and
> # use the up/down arrow to auto complete from
> # commands in your history
> "\e[B": history-search-forward
> "\e[A": history-search-backward
> ---
> after typing something like "hg ci" the arrow keys will search now
> through history and find any formerly executed "hg ci..." command
> string! Just what I wanted!!! :)
>
> Refs:
> http://www.macosxhints.com/article.php?story=20060825071728278
> http://snipplr.com/view/11266/inputrc-mac-os-x--bashrc-linux/
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
More information about the macports-users
mailing list