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
2012-04-09 18:47:09 -04:00
..
external@04c2eca00c [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00
init.zsh Rename $keyinfo to $key_info for consistency 2012-04-09 18:47:09 -04:00
README.md [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00

history-substring-search

It 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.

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 -t ':omz:module:history-substring-search' color 'yes'

Authors

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