Zsh history search shortcut

$ !vi<tab>

will expand to last command that starts with vi

$ !?zshrc<tab>

will expand to last command that contains zshrc