Remove disable file completions line
This commit is contained in:
parent
c50491da9f
commit
018a72256b
|
@ -20,8 +20,6 @@ var fishTpl = template.Must(template.New("fish").Funcs(tplFuncs).Parse(`
|
||||||
{{- $varName := under $rootCmd.Name -}}
|
{{- $varName := under $rootCmd.Name -}}
|
||||||
set -l commands {{- range $rootCmd.Subcommands }} {{ .Name }}{{ end }}
|
set -l commands {{- range $rootCmd.Subcommands }} {{ .Name }}{{ end }}
|
||||||
|
|
||||||
complete -c {{ $progName }} -f
|
|
||||||
|
|
||||||
function __fish_{{ $varName }}_needs_command
|
function __fish_{{ $varName }}_needs_command
|
||||||
set -l cmd (commandline -opc)
|
set -l cmd (commandline -opc)
|
||||||
if test (count $cmd) -eq 1
|
if test (count $cmd) -eq 1
|
||||||
|
|
Loading…
Reference in New Issue