From 76f3dba0d0264e6a91ef14c3c4b70753efeef7ec Mon Sep 17 00:00:00 2001 From: Michael Bianco Date: Tue, 3 Jan 2023 10:53:33 -0700 Subject: [PATCH] zinit installation instructions also added default completion path --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e24d7ea..3701c64 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,12 @@ How to install After installing antigen put `antigen bundle RobSis/zsh-completion-generator` into your `.zshrc`. +### Using zinit + +``` +zinit load RobSis/zsh-completion-generator +``` + ### Using Fig [Fig](https://fig.io) adds apps, shortcuts, and autocomplete to your existing terminal. @@ -46,7 +52,7 @@ Install `zsh-completion-generator` in just one click. `compinit` #### Custom zsh completion folder -If you want to use a different folder than the default one for completion files, you can export the GENCOMPL_FPATH variable before sourcing the plugin : +If you want to use a different folder than the default one (`completions/` within the plugin directory) for completion files, you can export the GENCOMPL_FPATH variable before sourcing the plugin : $ GENCOMPL_FPATH=$HOME/.zsh/complete $ source $HOME/.zsh/zsh-completion-generator/zsh-completion-generator.plugin.zsh