This repository has been archived on 2022-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
prezto/modules/history-substring-search/README.md
2012-06-14 17:17:36 -04:00

1.4 KiB

History Substring Search

Integrates zsh-syntax-highlighting into Oh My Zsh, which implements the Fish shell's history search feature, where the user can type in any part of a previously entered command and press the UP and DOWN arrow keys to cycle through matching commands.

If this module is used in conjuncture with the syntax-highlighting module, it must be loaded after it.

Contributors

New features and bug fixes should be submitted to the zsh-history-substring-search project according to its rules and regulations. This module will be synchronized against it.

Settings

Case Sensitivity

To enable case-sensitivity for this module only, add the following line to zshrc:

zstyle ':omz:module:history-substring-search' case-sensitive 'yes'

Highlighting

If colors are enabled, history-substring-search will automatically highlight positive results.

To enable highlighting for this module only, and the following line to zshrc:

zstyle ':omz:module:history-substring-search' color 'yes'

Authors

The authors of this module should be contacted via the issue tracker.