mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-24 20:33:04 +00:00
Merge pull request #1 from unixorn/add-install-instructions
Add install instructions for zgen, antigen and oh-my-zsh
This commit is contained in:
commit
562b3146b4
1 changed files with 15 additions and 2 deletions
17
README.md
17
README.md
|
@ -10,8 +10,21 @@ https://asciinema.org/a/46371
|
|||
|
||||
## Installation
|
||||
|
||||
Use as plugin or copy to `site-functions` and add:
|
||||
### [Antigen](https://github.com/zsh-users/antigen)
|
||||
|
||||
Adding `antigen bundle psprint/history-search-multi-word` to your .zshrc file. Antigen will handle cloning the plugin for you automatically the next time you start zsh. You can also add the plugin to a running zsh with `antigen bundle psprint/history-search-multi-word` for testing before adding it to your `.zshrc`.
|
||||
|
||||
### [Oh-My-Zsh](http://ohmyz.sh/)
|
||||
|
||||
1. `cd ~/.oh-my-zsh/custom/plugins`
|
||||
2. `git clone git@github.com:psprint/history-search-multi-word.git`
|
||||
3. Add history-search-multi-word to your plugin list
|
||||
|
||||
### [Zgen](https://github.com/tarjoilija/zgen)
|
||||
|
||||
Add `zgen load psprint/history-search-multi-word` to your .zshrc file in the same function you're doing your other `zgen load` calls in.
|
||||
|
||||
After adding the plugin, add
|
||||
```zsh
|
||||
autoload history-search-multi-word
|
||||
zle -N history-search-multi-word
|
||||
|
@ -19,7 +32,7 @@ zle -N history-search-multi-word-backwards history-search-multi-word
|
|||
bindkey "^R" history-search-multi-word
|
||||
```
|
||||
|
||||
to `zshrc`.
|
||||
to your `~/zshrc`.
|
||||
|
||||
## IRC Channel
|
||||
|
||||
|
|
Loading…
Reference in a new issue