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" {
|
if runtime.GOOS == "windows" {
|
||||||
path = "Path"
|
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":
|
case "sh":
|
||||||
tmpl = "PATH=$PATH:%s\n"
|
tmpl = "PATH=$PATH:%s\n"
|
||||||
case "ps1":
|
case "ps1":
|
||||||
|
|
Reference in New Issue