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
1 changed files with 4 additions and 0 deletions

View File

@ -669,6 +669,10 @@ to enable it. You can execute the following once:
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:
#### Linux: