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

Zsh history search



Is there a way in zsh to search the history for two terms, or to do a search for tear one and then search within those results for term 2?

For example, I use ffmpeg a lot, and sometimes I use it within a for loop, so I wold like to be able to search for 

"for"

And then within all the history that shows up for all the many for commands, search for those that also contain ffmpeg. Searching 'for' and then parroting takes many many keypresses sometimes.

If it matters, and I expect it does, I have 'history' in plugins in my zshrc

-- 
ɹןʇnqן
<mailto:lbutler@xxxxxxxxxx>
tel:+1.303.219.0564







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