feat: Add how to load completions in your current zsh session (#1608)

This commit is contained in:
Ondrej Sika 2022-03-17 22:55:16 +01:00 committed by GitHub
parent 65b1195d6e
commit 8cc7be2119
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: