wsl2-hacks
wsl2-hacks copied to clipboard
In Windows 11, init with an alternative
put the shell to wsl2hack and setting default user causes a bug with the "bash from here" in explorer. In Windows 11, is an alternative: Don't change the default shell of root and don't change default user to root. create a file /etc/wsl.conf and put [boot] command=/usr/local/bin/wsl2hack