From 470ca0a62845725bff62f8fd5823b477266f722c Mon Sep 17 00:00:00 2001 From: Jack Wright Date: Sun, 1 Dec 2024 20:05:18 -0800 Subject: [PATCH] Added a comment at the beginning to remain consistent with other shells. --- nushell_completions.go | 1 + 1 file changed, 1 insertion(+) diff --git a/nushell_completions.go b/nushell_completions.go index 0fd02ea..8523652 100644 --- a/nushell_completions.go +++ b/nushell_completions.go @@ -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