add manual entry for fish completions

This commit is contained in:
Tin Lai 2020-06-04 14:31:57 +10:00
parent f5e8599de4
commit ecdc985ab0
No known key found for this signature in database
GPG Key ID: 3DFF94D0127B09D6
1 changed files with 4 additions and 0 deletions

View File

@ -34,3 +34,7 @@ Load `_yadm` as a plugin in your `.zshrc`:
fpath=("$ZPLUG_HOME/bin" $fpath)
zplug "TheLocehiliosan/yadm", rename-to:_yadm, use:"completion/yadm.zsh_completion", as:command, defer:2
```
## Fish completions
### Manual installation
Copy the completion script `yadm.fish_completion` locally, rename it to `yadm.fish`, and add it to any folder within `$fish_complete_path`. For example, for local installation, you can copy it to `$HOME/.config/fish/completions/` and it will be loaded when `yadm` is invoked.