forked from mirror/cobra
feat: Add how to load completions in your current zsh session (#1608)
This commit is contained in:
parent
65b1195d6e
commit
8cc7be2119
|
@ -669,6 +669,10 @@ to enable it. You can execute the following once:
|
||||||
|
|
||||||
echo "autoload -U compinit; compinit" >> ~/.zshrc
|
echo "autoload -U compinit; compinit" >> ~/.zshrc
|
||||||
|
|
||||||
|
To load completions in your current shell session:
|
||||||
|
|
||||||
|
source <(%[1]s completion zsh); compdef _%[1]s %[1]s
|
||||||
|
|
||||||
To load completions for every new session, execute once:
|
To load completions for every new session, execute once:
|
||||||
|
|
||||||
#### Linux:
|
#### Linux:
|
||||||
|
|
Loading…
Reference in New Issue