diff --git a/README.md b/README.md index 6a1ad8e..1418526 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,16 @@ Usage rm -f ~/.zcompdump; compinit + +#### Using antigen +Add +```bash +antigen bundle zsh-lovers/zsh-completions +``` + +to your `.zshrc`. This will automatically clone the repository and add zsh-completions/src to your `$fpath`. You may have to rebuild zcompdump as listed above under Manual Installation. + + Contributing ------------ diff --git a/load-zsh-completions.plugin.zsh b/load-zsh-completions.plugin.zsh new file mode 100644 index 0000000..879f5c5 --- /dev/null +++ b/load-zsh-completions.plugin.zsh @@ -0,0 +1,5 @@ +# Simple plugin script to automate loading the zsh-completions repo into +# $fpath for antigen users + +COMPLETIONS_D="$(dirname $0)/src" +fpath=("${COMPLETIONS_D}" $fpath)