fix: fmt args
Signed-off-by: jolheiser <john.olheiser@gmail.com>main
parent
ce1e1a1f1d
commit
2ec8d755c9
|
@ -119,7 +119,7 @@ func (m Meta) writeShellEnv(shell string) error {
|
|||
if runtime.GOOS == "windows" {
|
||||
path = "Path"
|
||||
}
|
||||
tmpl = fmt.Sprintf("let-env %s = ($env.%s | append %%q)\n", path)
|
||||
tmpl = fmt.Sprintf("let-env %s[1] = ($env.%s[1] | append %%q)\n", path)
|
||||
case "sh":
|
||||
tmpl = "PATH=$PATH:%s\n"
|
||||
case "ps1":
|
||||
|
|
Reference in New Issue