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

Reverse history search and match for a specific token



Hi zshellers,

I use event history matching a fair amount and can subscript the command to return a specific token like this.
$ !?foo?:%
for the token containing foo
$ !?foo?:$
for the last token

How would I match for the token containing `bar`?

Thanks for the tips.

Best wishes
Eric




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