Merge pull request #290 from ypid/master
Made it a oh-my-zsh plugin and documented how to use it.
This commit is contained in:
commit
1f074882a4
17
README.md
17
README.md
|
@ -42,6 +42,23 @@ Usage
|
||||||
|
|
||||||
rm -f ~/.zcompdump; compinit
|
rm -f ~/.zcompdump; compinit
|
||||||
|
|
||||||
|
#### oh-my-zsh
|
||||||
|
|
||||||
|
If you use [oh-my-zsh][] then just clone the repository inside your oh-my-zsh repo:
|
||||||
|
|
||||||
|
```Shell
|
||||||
|
git clone https://github.com/zsh-users/zsh-completions ~/.oh-my-zsh/custom/plugins/zsh-completions
|
||||||
|
```
|
||||||
|
|
||||||
|
and enable it in your `.zshrc`:
|
||||||
|
|
||||||
|
```zsh
|
||||||
|
plugins+=(zsh-completions)
|
||||||
|
autoload -U compinit && compinit
|
||||||
|
```
|
||||||
|
|
||||||
|
[oh-my-zsh]: http://github.com/robbyrussell/oh-my-zsh
|
||||||
|
|
||||||
Contributing
|
Contributing
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
fpath+="`dirname $0`/src"
|
Loading…
Reference in New Issue