2012-06-14 23:17:36 +02:00
|
|
|
History Substring Search
|
2012-04-04 15:20:34 +02:00
|
|
|
========================
|
|
|
|
|
2012-06-14 23:17:36 +02:00
|
|
|
Integrates [zsh-syntax-highlighting][1] into Oh My Zsh, which implements the
|
|
|
|
[Fish shell][2]'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][1] project according to its rules and
|
|
|
|
regulations. This module will be synchronized against it.
|
2012-04-04 15:20:34 +02:00
|
|
|
|
|
|
|
Settings
|
|
|
|
--------
|
|
|
|
|
|
|
|
### Case Sensitivity
|
|
|
|
|
2012-03-28 18:41:39 +02:00
|
|
|
To enable case-sensitivity for this module only, add the following line to
|
2012-04-04 15:20:34 +02:00
|
|
|
*zshrc*:
|
|
|
|
|
2012-03-28 18:41:39 +02:00
|
|
|
zstyle ':omz:module:history-substring-search' case-sensitive 'yes'
|
2012-04-04 15:20:34 +02:00
|
|
|
|
|
|
|
### Highlighting
|
|
|
|
|
2012-06-14 23:17:36 +02:00
|
|
|
If colors are enabled, *history-substring-search* will automatically highlight
|
2012-04-04 15:20:34 +02:00
|
|
|
positive results.
|
|
|
|
|
2012-03-28 18:41:39 +02:00
|
|
|
To enable highlighting for this module only, and the following line to *zshrc*:
|
2012-04-04 15:20:34 +02:00
|
|
|
|
2012-06-14 23:17:36 +02:00
|
|
|
zstyle ':omz:module:history-substring-search' color 'yes'
|
2012-04-04 15:20:34 +02:00
|
|
|
|
|
|
|
Authors
|
|
|
|
-------
|
|
|
|
|
2012-06-14 23:17:36 +02:00
|
|
|
*The authors of this module should be contacted via the [issue tracker][3].*
|
2012-04-04 15:20:34 +02:00
|
|
|
|
2012-05-22 02:18:30 +02:00
|
|
|
- [Suraj N. Kurapati](https://github.com/sunaku)
|
2012-06-14 23:17:36 +02:00
|
|
|
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
2012-04-04 15:20:34 +02:00
|
|
|
|
2012-06-14 23:17:36 +02:00
|
|
|
[1]: https://github.com/zsh-users/zsh-history-substring-search
|
|
|
|
[2]: http://fishshell.com
|
|
|
|
[3]: https://github.com/sorin-ionescu/oh-my-zsh/issues
|
2012-04-04 15:20:34 +02:00
|
|
|
|