mirror of
https://github.com/zsh-users/zsh-history-substring-search.git
synced 2026-11-11 11:41:49 -05:00
Merge branch 'zinit-readme'
Resolved merge conflict.
This commit is contained in:
@@ -63,6 +63,21 @@ bindkey '^[[B' history-substring-search-down # or '\eOB'
|
|||||||
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=1
|
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Using [Zinit](https://github.com/zdharma-continuum/zinit):
|
||||||
|
|
||||||
|
1. Use the `Oh-my-zsh` Zinit snippet in `~/.zshrc`:
|
||||||
|
|
||||||
|
zinit snippet OMZ::plugins/git/git.plugin.zsh`
|
||||||
|
|
||||||
|
2. Load the plugin in `~/.zshrc`:
|
||||||
|
|
||||||
|
zinit load 'zsh-users/zsh-history-substring-search
|
||||||
|
zinit ice wait atload'_history_substring_search_config'
|
||||||
|
|
||||||
|
3. Run `exec zsh` to take changes into account:
|
||||||
|
|
||||||
|
exec zsh
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user