mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-25 22:00:15 +08:00
feat(plugins): add completion plugin for invoke
(#7311)
Co-authored-by: Quentin Nerden <quentin.nerden@intel.com>
This commit is contained in:
parent
ab58594173
commit
bca73e1858
10
plugins/invoke/README.md
Normal file
10
plugins/invoke/README.md
Normal file
@ -0,0 +1,10 @@
|
||||
# Invoke plugin
|
||||
|
||||
This plugin adds completion for [invoke](https://github.com/pyinvoke/invoke).
|
||||
|
||||
To use it, add `invoke` to the plugins array in your `~/.zshrc` file:
|
||||
|
||||
```zsh
|
||||
plugins=(... invoke)
|
||||
```
|
||||
|
5
plugins/invoke/invoke.plugin.zsh
Normal file
5
plugins/invoke/invoke.plugin.zsh
Normal file
@ -0,0 +1,5 @@
|
||||
# Autocompletion for invoke.
|
||||
#
|
||||
if [ $commands[invoke] ]; then
|
||||
source <(invoke --print-completion-script=zsh)
|
||||
fi
|
Loading…
Reference in New Issue
Block a user