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

Re: History search and regular expression



Hi,

2010/8/4 Anonymous bin ich <ichbinanon@xxxxxxxxx>:
> Is it possible to search through the history using regex? An obvious
> way is to grep through the history file, but I want to know if ZSH
> supports this functionality.

Not builtin, but you may use globbing with
history-incremental-pattern-search-backward

bindkey '^r' history-incremental-pattern-search-backward

(for example)

Best regards,

-- 
Jérémie



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