mirror of
https://github.com/spf13/cobra
synced 2024-12-28 23:37:09 +00:00
Added a comment at the beginning to remain consistent with other shells.
This commit is contained in:
parent
ddb39920b4
commit
470ca0a628
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ import (
|
|||
|
||||
func (c *Command) GenNushellCompletion(w io.Writer, includeDesc bool) error {
|
||||
buf := new(bytes.Buffer)
|
||||
WriteStringAndCheck(buf, "# nushell completion -*- shell-script -*- \n")
|
||||
WriteStringAndCheck(buf, fmt.Sprintf(`
|
||||
let cobra_completer = {|spans|
|
||||
let ShellCompDirectiveError = %[1]d
|
||||
|
|
Loading…
Reference in a new issue