From 8cc7be21194f770e16afd51c2b0eec11b97bcd2d Mon Sep 17 00:00:00 2001 From: Ondrej Sika Date: Thu, 17 Mar 2022 22:55:16 +0100 Subject: [PATCH] feat: Add how to load completions in your current zsh session (#1608) --- completions.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/completions.go b/completions.go index 8924c28f..c28a9d3b 100644 --- a/completions.go +++ b/completions.go @@ -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: