mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-24 00:21:46 +00:00
Merge pull request #1018 from tvories/docs/fish_completions
This commit is contained in:
commit
e7ba9b5624
2 changed files with 3 additions and 11 deletions
|
|
@ -25,13 +25,9 @@ import (
|
||||||
var completionFishCmd = &cobra.Command{
|
var completionFishCmd = &cobra.Command{
|
||||||
Use: "fish",
|
Use: "fish",
|
||||||
Short: "Generates fish completion scripts",
|
Short: "Generates fish completion scripts",
|
||||||
Example: `To load completion run
|
Example: `To configure your fish shell to load completions for each session write this script to your completions dir:
|
||||||
|
|
||||||
. <(flux completion fish)
|
flux completion fish > ~/.config/fish/completions/flux.fish
|
||||||
|
|
||||||
To configure your fish shell to load completions for each session write this script to your completions dir:
|
|
||||||
|
|
||||||
flux completion fish > ~/.config/fish/completions/flux
|
|
||||||
|
|
||||||
See http://fishshell.com/docs/current/index.html#completion-own for more details
|
See http://fishshell.com/docs/current/index.html#completion-own for more details
|
||||||
`,
|
`,
|
||||||
|
|
|
||||||
|
|
@ -9,13 +9,9 @@ flux completion fish [flags]
|
||||||
### Examples
|
### Examples
|
||||||
|
|
||||||
```
|
```
|
||||||
To load completion run
|
|
||||||
|
|
||||||
. <(flux completion fish)
|
|
||||||
|
|
||||||
To configure your fish shell to load completions for each session write this script to your completions dir:
|
To configure your fish shell to load completions for each session write this script to your completions dir:
|
||||||
|
|
||||||
flux completion fish > ~/.config/fish/completions/flux
|
flux completion fish > ~/.config/fish/completions/flux.fish
|
||||||
|
|
||||||
See http://fishshell.com/docs/current/index.html#completion-own for more details
|
See http://fishshell.com/docs/current/index.html#completion-own for more details
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue