2012-04-04 13:20:34 +00:00
|
|
|
history-substring-search
|
|
|
|
========================
|
|
|
|
|
|
|
|
It implements the [Fish shell][1]'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
|
|
|
|
|
2012-03-28 16:41:39 +00:00
|
|
|
To enable case-sensitivity for this module only, add the following line to
|
2012-04-04 13:20:34 +00:00
|
|
|
*zshrc*:
|
|
|
|
|
2012-03-28 16:41:39 +00:00
|
|
|
zstyle ':omz:module:history-substring-search' case-sensitive 'yes'
|
2012-04-04 13:20:34 +00:00
|
|
|
|
|
|
|
### Highlighting
|
|
|
|
|
|
|
|
If colors are enabled, _history-substring-search_ will automatically highlight
|
|
|
|
positive results.
|
|
|
|
|
2012-03-28 16:41:39 +00:00
|
|
|
To enable highlighting for this module only, and the following line to *zshrc*:
|
2012-04-04 13:20:34 +00:00
|
|
|
|
2012-03-28 16:41:39 +00:00
|
|
|
zstyle -t ':omz:module:history-substring-search' color 'yes'
|
2012-04-04 13:20:34 +00:00
|
|
|
|
|
|
|
Authors
|
|
|
|
-------
|
|
|
|
|
2012-05-22 00:18:30 +00:00
|
|
|
*The authors of this module should be contacted via the [issue tracker][2].*
|
2012-04-04 13:20:34 +00:00
|
|
|
|
2012-05-22 00:18:30 +00:00
|
|
|
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
|
|
|
- [Suraj N. Kurapati](https://github.com/sunaku)
|
2012-04-04 13:20:34 +00:00
|
|
|
|
|
|
|
[1]: http://fishshell.com
|
2012-05-22 00:18:30 +00:00
|
|
|
[2]: https://github.com/sorin-ionescu/oh-my-zsh/issues
|
2012-04-04 13:20:34 +00:00
|
|
|
|