lucyllewy / one-script-wsl2-systemd

The one-script variant of the systemd hack for WSL2
MIT License
231 stars 38 forks source link

command not found: -zsh #6

Closed joedborg closed 2 years ago

joedborg commented 3 years ago

Following https://github.com/diddledan/one-script-wsl2-systemd/issues/5

Since that patch, I now see

/etc/profile.d/00-wsl2-systemd.sh:50: command not found: -zsh

When trying to open a WSL shell.

lucyllewy commented 3 years ago

Can you try again using the latest code in the main branch? I think this is fixed now.

lucyllewy commented 2 years ago

Closing old issue as I believe it's fixed. Please reopen if I'm wrong.