[Grml] zsh history completion via arrow keys

Frank Terbeck ft at grml.org
Wed Jan 23 21:09:51 CET 2013

John wrote:
> Here is the output of the command you asked about:
> % bindkey '"^[[A" up-line-or-search

So, `up-line-or-search' is indeed active already. Isn't this what you
asked for? From the manual:

          Move up a line in the  buffer, or if already at the top
          line,  search  backward  in  the  history  for  a  line
          beginning with the first word in the buffer.

          If  called from  a  function by  the  zle command  with
          arguments, the  first argument  is taken as  the string
          for which to search, rather  than the first word in the

Regards, Frank

More information about the Grml mailing list