From 38318cff84cc421ab0438283722045bed1ad7bb2 Mon Sep 17 00:00:00 2001 From: Klas Mellbourn Date: Fri, 11 Aug 2017 20:09:27 +0200 Subject: [PATCH] zsh completion - improve documentation --- completion/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/completion/README.md b/completion/README.md index 7ec427a..f391e9e 100644 --- a/completion/README.md +++ b/completion/README.md @@ -22,14 +22,14 @@ Copy the completion script locally, and add this to you bashrc: ### Manual installation -Copy the completion script `_yadm` locally, and add this to you zshrc: +Copy the completion script `_yadm` locally, and add the containing folder to `$fpath` in `.zshrc`: ```shell -fpath=(/path/to/folder/containing/_yadm $fpath) +fpath=(/path/to/folder/containing_yadm $fpath) ``` ### Installation using [zplug](https://github.com/b4b4r07/zplug) -Load `_yadm` as a plugin in your `.zshrc` +Load `_yadm` as a plugin in your `.zshrc`: ```shell -zplug "TheLocehiliosan/yadm/completion/_yadm", defer:2 +zplug "TheLocehiliosan/yadm", use:"completion/_yadm", as:command, defer:2 ``` \ No newline at end of file