zsh completion - improve documentation
This commit is contained in:
parent
ded14fce73
commit
38318cff84
1 changed files with 4 additions and 4 deletions
|
@ -22,14 +22,14 @@ Copy the completion script locally, and add this to you bashrc:
|
||||||
|
|
||||||
### Manual installation
|
### 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
|
```shell
|
||||||
fpath=(/path/to/folder/containing/_yadm $fpath)
|
fpath=(/path/to/folder/containing_yadm $fpath)
|
||||||
```
|
```
|
||||||
### Installation using [zplug](https://github.com/b4b4r07/zplug)
|
### 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
|
```shell
|
||||||
zplug "TheLocehiliosan/yadm/completion/_yadm", defer:2
|
zplug "TheLocehiliosan/yadm", use:"completion/_yadm", as:command, defer:2
|
||||||
|
|
||||||
```
|
```
|
Loading…
Reference in a new issue