auto complete history
Mon May 12 07:19:00 GMT 2008
* Robert Bram (Sun, 11 May 2008 11:05:38 +1000)
> In a previous installation of Cygwin, I had 'history auto complete' in
> so far as I could type a letter, press the up key and the prompt would
> cycle through the most recent entries in history whose first letter
> matches the letter I typed. On my newest install, this feature isn't
> present. Can anyone please let me know how to put it in place?
Depends on your shell. In Zsh it would be...
bindkey '\e[A' history-beginning-search-backward
bindkey '\e[B' history-beginning-search-forward
and in Bash...
Put these in your .zshrc or .inputrc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin