Closed joedborg closed 2 years ago
This is probably because you are using ZSH. The script sets up bash to reinstate the $WSL_INTEROP
variable once you're logged in
I'm not sure as it was working fine with https://github.com/damionGans/ubuntu-wsl2-systemd-script/ and I checked that $WSL_INTEROP
was set and that the socket existed. Maybe it's basic.target
vs multi-user.target
?
I also re-ran the script after your changes a few hours ago. The terminal now hangs and just eats memory (seemingly forever), not sure if this is expected for the first run or if there's a bug I should raise?
Addition, if I CTRL+C it, I get
/bin/sh: 0: Can't open
in a loop.
Further to that, if I delete the profile and start a new shell, I can see a lot of zsh sessions, so I guess it's just creating them infinitely.
Can you try again using the latest install.ps1
from the main
branch? There have been several improvements and I think this might be fixed now.
I'm closing this issue, because it should be fixed. You didn't reply to my request for retesting, so if there is still an issue please reopen.
After running the script, I don't seem to be able to run any exe commands anymore: