diff --git a/cmd/setup_windows_terminals/main.go b/cmd/setup_windows_terminals/main.go index 01eda11c..20747fed 100644 --- a/cmd/setup_windows_terminals/main.go +++ b/cmd/setup_windows_terminals/main.go @@ -43,6 +43,10 @@ func main() { if err != nil { log.Fatalf("Failed to create path that will have alacritty.yml: %+v", err) } + err = os.MkdirAll(path.Dir(pwshProfilePath), 0750) + if err != nil { + log.Fatalf("Failed to create path that will have PowerShell profiles: %+v", err) + } copies := []fileutils.Copy{ {Src: filepath.Join(dotsPath, "config", "starship", "starship.toml"), Dst: filepath.Join(homePath, ".config", "starship.toml")},