From d9eabcdbf70581117f8a356623e1d70b96f514fd Mon Sep 17 00:00:00 2001 From: tvories Date: Mon, 1 Mar 2021 08:35:12 -0700 Subject: [PATCH] Removed posix style loading for flux and added .fish filetype to completions file Signed-off-by: tvories --- cmd/flux/completion_fish.go | 4 +--- docs/cmd/flux_completion_fish.md | 6 +----- 2 files changed, 2 insertions(+), 8 deletions(-) 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