ZSH plugin that implements Fish shell's history search feature, allowing you to search through command history by typing any part of a previous command.
zsh-history-substring-search is a ZSH plugin that implements Fish shell's history search functionality for ZSH users. It allows you to type any part of any previous command and then press configured keys (like UP and DOWN arrows) to cycle through matching commands in your history. This solves the problem of inefficient command history navigation in ZSH by providing intuitive substring-based searching.
ZSH users who want more efficient command history navigation, particularly those familiar with or wanting Fish shell's history search experience. It's especially valuable for developers and system administrators who frequently reuse complex commands.
Developers choose this plugin because it brings Fish shell's highly praised history search functionality to ZSH without switching shells. It provides a more intuitive and efficient way to navigate command history compared to ZSH's default history search, with extensive customization options and compatibility with popular ZSH frameworks.
🐠 ZSH port of Fish history search (up arrow)
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Directly ports Fish shell's intuitive substring-based history search to ZSH, allowing any part of previous commands to be used for matching, as described in the Key Features.
Offers extensive options like case-insensitive search, fuzzy matching, prefix-only search, and custom highlighting, detailed in the Configuration section.
Easily integrates with popular ZSH frameworks such as Oh My Zsh, antigen, and zplug, with clear installation instructions provided.
Properly handles commands that span multiple lines, ensuring accurate search and navigation, as highlighted in the Usage section.
Requires manual detection and configuration of key codes using commands like cat -v, which can be confusing and prone to errors, especially for different terminal emulators.
Only works with ZSH 4.3 or newer, making it unsuitable for users of other shells or older systems without ZSH.
Relies on ZSH's character highlighting and zsh-syntax-highlighting for best results, which may not be supported or may cause issues on some terminals.