Skip to content

Commit

Permalink
Make sure to create dir before copying
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Oct 11, 2023
1 parent 87f53ab commit 8adfd71
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/setup_windows_terminals/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")},
Expand Down

0 comments on commit 8adfd71

Please sign in to comment.