diff --git a/completions_fish.go b/completions_fish.go index 48cbefd..8e0228d 100644 --- a/completions_fish.go +++ b/completions_fish.go @@ -20,8 +20,6 @@ var fishTpl = template.Must(template.New("fish").Funcs(tplFuncs).Parse(` {{- $varName := under $rootCmd.Name -}} set -l commands {{- range $rootCmd.Subcommands }} {{ .Name }}{{ end }} -complete -c {{ $progName }} -f - function __fish_{{ $varName }}_needs_command set -l cmd (commandline -opc) if test (count $cmd) -eq 1