diff --git a/README.md b/README.md index 39da7db..741fbc3 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,23 @@ Usage 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 ------------ diff --git a/zsh-completions.plugin.zsh b/zsh-completions.plugin.zsh new file mode 100644 index 0000000..f8be8e7 --- /dev/null +++ b/zsh-completions.plugin.zsh @@ -0,0 +1 @@ +fpath+="`dirname $0`/src"