Added a comment at the beginning to remain consistent with other shells.

This commit is contained in:
Jack Wright 2024-12-01 20:05:18 -08:00
parent ddb39920b4
commit 470ca0a628

View file

@ -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