From d03198b77425bc6f2bfc3aa162365e6f7bea731f Mon Sep 17 00:00:00 2001 From: Omair-Inam Abdul-Matin Date: Wed, 8 May 2024 06:58:52 -0400 Subject: [PATCH] Improve zsh autocomplete directions --- internal/cmd/completion/completion.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/completion/completion.go b/internal/cmd/completion/completion.go index bdc9dfc6..1cf5e103 100644 --- a/internal/cmd/completion/completion.go +++ b/internal/cmd/completion/completion.go @@ -28,7 +28,7 @@ Zsh: $ echo "autoload -U compinit; compinit" >> ~/.zshrc # To load completions for each session, execute once: - $ jira completion zsh > /usr/local/share/zsh/site-functions/_jira + $ jira completion zsh > "${fpath[1]}/_jira" # You will need to start a new shell for this setup to take effect.