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:
tvories 2021-03-01 08:35:12 -07:00
parent bb3562427b
commit d9eabcdbf7
2 changed files with 2 additions and 8 deletions

View file

@ -27,11 +27,9 @@ var completionFishCmd = &cobra.Command{
Short: "Generates fish completion scripts",
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:
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
`,

View file

@ -9,13 +9,9 @@ flux completion fish [flags]
### 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:
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