mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-19 14:11:48 +00:00
Signed-off-by: Kingdon Barrett <kingdon@weave.works>
This commit is contained in:
parent
e01810037b
commit
ddd377b997
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue