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