help / color / mirror / code / Atom feed
* Zsh history search
@ 2021-06-20 18:38 Lewis Butler
  0 siblings, 0 replies; only message in thread
From: Lewis Butler @ 2021-06-20 18:38 UTC (permalink / raw)
  To: Zsh Users

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 


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-20 18:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-20 18:38 Zsh history search Lewis Butler

Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).