A plugin that enhances zsh history search interaction, with review and choose in a multiline menu
antigen bundle zthxxx/zsh-history-enquirerIf you are using oh-my-zsh, all you need to do is one npm command.
npm i -g zsh-history-enquirerThe install/uninstall hooks will be correctly setup in your oh-my-zsh plugins and config. Manually editing .zshrc is no longer necessary
You can use a one-line command (which will auto install node via nvm, if node command not found)
curl -#sSL https://github.com/zthxxx/zsh-history-enquirer/raw/master/scripts/installer.zsh | zshbrew install zsh-history-enquirer# .zshrc
autoload -U history_enquire
history_enquireIf you don't use oh-my-zsh, you can manually add the source plugin file to your .zshrc after npm is installed and manually remove the source command when it is uninstalled.
echo 'source `npm root -g`/zsh-history-enquirer/zsh-history-enquirer.plugin.zsh' >> ~/.zshrcThis plugin will replace the default ZSH history search with the ^R shortcut.
Just press ^R (Ctrl + R) to enjoy enhanced history search!
zsh-history-enquirer © zthxxx, Released under the MIT License.
