2012-06-14 17:17:36 -04:00
|
|
|
History Substring Search
|
2012-04-04 09:20:34 -04:00
|
|
|
========================
|
|
|
|
|
2012-06-14 19:33:42 -04:00
|
|
|
Integrates [zsh-history-substring-search][1] into Oh My Zsh, which implements
|
|
|
|
the [Fish shell][2]'s history search feature, where the user can type in any
|
2012-06-17 13:32:29 -04:00
|
|
|
part of a previously entered command and press up and down to cycle through
|
|
|
|
matching commands.
|
2012-06-14 17:17:36 -04:00
|
|
|
|
|
|
|
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 09:20:34 -04:00
|
|
|
|
|
|
|
Settings
|
|
|
|
--------
|
|
|
|
|
|
|
|
### Case Sensitivity
|
|
|
|
|
2012-03-28 12:41:39 -04:00
|
|
|
To enable case-sensitivity for this module only, add the following line to
|
2012-04-04 09:20:34 -04:00
|
|
|
*zshrc*:
|
|
|
|
|
2012-03-28 12:41:39 -04:00
|
|
|
zstyle ':omz:module:history-substring-search' case-sensitive 'yes'
|
2012-04-04 09:20:34 -04:00
|
|
|
|
|
|
|
### Highlighting
|
|
|
|
|
2012-06-14 17:17:36 -04:00
|
|
|
If colors are enabled, *history-substring-search* will automatically highlight
|
2012-04-04 09:20:34 -04:00
|
|
|
positive results.
|
|
|
|
|
2012-08-27 16:50:54 -04:00
|
|
|
To enable highlighting for this module only, add the following line to *zshrc*:
|
2012-04-04 09:20:34 -04:00
|
|
|
|
2012-06-14 17:17:36 -04:00
|
|
|
zstyle ':omz:module:history-substring-search' color 'yes'
|
2012-04-04 09:20:34 -04:00
|
|
|
|
|
|
|
Authors
|
|
|
|
-------
|
|
|
|
|
2012-06-14 17:17:36 -04:00
|
|
|
*The authors of this module should be contacted via the [issue tracker][3].*
|
2012-04-04 09:20:34 -04:00
|
|
|
|
2012-05-21 20:18:30 -04:00
|
|
|
- [Suraj N. Kurapati](https://github.com/sunaku)
|
2012-06-14 17:17:36 -04:00
|
|
|
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
2012-04-04 09:20:34 -04:00
|
|
|
|
2012-06-14 17:17:36 -04: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 09:20:34 -04:00
|
|
|
|