Merge pull request #1 from unixorn/add-install-instructions

Add install instructions for zgen, antigen and oh-my-zsh
This commit is contained in:
psprint 2016-05-22 21:23:33 +02:00
commit 562b3146b4

View file

@ -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