diff --git a/cmd/flux/completion_fish.go b/cmd/flux/completion_fish.go index 03225474..3c8dc099 100644 --- a/cmd/flux/completion_fish.go +++ b/cmd/flux/completion_fish.go @@ -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 `, diff --git a/docs/cmd/flux_completion_fish.md b/docs/cmd/flux_completion_fish.md index 2504c993..9ad14500 100644 --- a/docs/cmd/flux_completion_fish.md +++ b/docs/cmd/flux_completion_fish.md @@ -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