Removed posix style loading for flux and added .fish filetype to completions file
Signed-off-by: tvories <taylor@tmtech.me>
This commit is contained in:
@@ -27,11 +27,9 @@ var completionFishCmd = &cobra.Command{
|
|||||||
Short: "Generates fish completion scripts",
|
Short: "Generates fish completion scripts",
|
||||||
Example: `To load completion run
|
Example: `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
|
||||||
`,
|
`,
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user