Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: <cntrl-r> with wild cards



Eric Smith wrote:
> How do I search my CL history with wildcards?
> 
> something like ;
> command_foo.*arg_bar

autoload -U history-pattern-search
zle -N history-pattern-search-backward history-pattern-search
bindkey '^xS' history-pattern-search-backward

see the zshcontrib manual.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



Messages sorted by: Reverse Date, Date, Thread, Author