With Windows 10 ‘Fall Creators Update’ last year, WSL team provide wsl.exe to replace bash.exe. As you can see details here:
creators-update-and-anniversary-update
open-wsl.exe now seems using bash.exe(call bash shell) as default , which impede me from setting zsh as default. And wsl.exe will launch default user’s default shell as you set.
With Windows 10 ‘Fall Creators Update’ last year, WSL team provide wsl.exe to replace bash.exe. As you can see details here: creators-update-and-anniversary-update
open-wsl.exe now seems using bash.exe(call bash shell) as default , which impede me from setting zsh as default. And wsl.exe will launch default user’s default shell as you set.
英语不太好哈,所以用中文重新表述一下:
希望使用wsl.exe替换bash.exe。 去年10月的创造者更新之后,WSL团队提供了wsl.exe以替换bash.exe。(详见creators-update-and-anniversary-update) 现在的open-wsl.exe默认调用的好像是bash.exe,也就是强制使用bash shell; 而使用wsl.exe的话,它会调用你在子系统中设置的默认shell(比如zsh什么的),可能更科学一些。