Skip to content
Snippets Groups Projects
Unverified Commit 28111d27 authored by Sunny's avatar Sunny Committed by GitHub
Browse files

Merge pull request #3465 from kingdonb/powershell-completion-doc

Fix fluxcd/website#1347
parents e0181003 ddd377b9
Branches
Tags ghost-0.79.0
No related merge requests found
...@@ -34,12 +34,12 @@ To configure your powershell shell to load completions for each session add to y ...@@ -34,12 +34,12 @@ To configure your powershell shell to load completions for each session add to y
Windows: Windows:
cd "$env:USERPROFILE\Documents\WindowsPowerShell\Modules" cd "$env:USERPROFILE\Documents\WindowsPowerShell\Modules"
flux completion >> flux-completion.ps1 flux completion powershell >> flux-completion.ps1
Linux: Linux:
cd "${XDG_CONFIG_HOME:-"$HOME/.config/"}/powershell/modules" 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) { Run: func(cmd *cobra.Command, args []string) {
rootCmd.GenPowerShellCompletion(os.Stdout) rootCmd.GenPowerShellCompletion(os.Stdout)
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment