File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
cmd/carapace/cmd/lazyinit Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ func pathSnippet(shell string) (snippet string) {
3131 case "nushell" :
3232 fixedBinDir := strings .ReplaceAll (binDir , `\` , `\\` )
3333 if runtime .GOOS == "windows" {
34- snippet = fmt .Sprintf (`$env.Path = ($env.Path | split row (char esep) | filter { $in != "%v" } | prepend "%v")` , fixedBinDir , fixedBinDir )
34+ snippet = fmt .Sprintf (`$env.Path = ($env.Path | split row (char esep) | where { $in != "%v" } | prepend "%v")` , fixedBinDir , fixedBinDir )
3535 } else {
36- snippet = fmt .Sprintf (`$env.PATH = ($env.PATH | split row (char esep) | filter { $in != "%v" } | prepend "%v")` , fixedBinDir , fixedBinDir )
36+ snippet = fmt .Sprintf (`$env.PATH = ($env.PATH | split row (char esep) | where { $in != "%v" } | prepend "%v")` , fixedBinDir , fixedBinDir )
3737 }
3838
3939 case "powershell" :
You can’t perform that action at this time.
0 commit comments