From ddd377b997fd7652ceafd1a1d4a149e10b3ecd2a Mon Sep 17 00:00:00 2001 From: Kingdon Barrett Date: Thu, 5 Jan 2023 20:19:53 -0500 Subject: [PATCH] Fix fluxcd/website#1347 Signed-off-by: Kingdon Barrett --- cmd/flux/completion_powershell.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/flux/completion_powershell.go b/cmd/flux/completion_powershell.go index 77efd87a..5d23e927 100644 --- a/cmd/flux/completion_powershell.go +++ b/cmd/flux/completion_powershell.go @@ -34,12 +34,12 @@ To configure your powershell shell to load completions for each session add to y Windows: cd "$env:USERPROFILE\Documents\WindowsPowerShell\Modules" -flux completion >> flux-completion.ps1 +flux completion powershell >> flux-completion.ps1 Linux: cd "${XDG_CONFIG_HOME:-"$HOME/.config/"}/powershell/modules" -flux completion >> flux-completions.ps1`, +flux completion powershell >> flux-completions.ps1`, Run: func(cmd *cobra.Command, args []string) { rootCmd.GenPowerShellCompletion(os.Stdout) },