WSL.exe 和 ubuntu.exe 不同

WSL.exe and ubuntu.exe are different

当我 运行 wsl.exebash.exe 时,我有以下图像作为输出:

现在,当我 运行 ubuntu.exe 使用开始菜单或在 cmd 中输入 ubuntu1804 时,我得到了这个:

他们有不同的 shell、应用等配置。 这会发生吗?

我怎样才能让它们都加载一个配置?

注意 termin是加载terminator的简单别名(在ubuntu.exe中设置)

您可以通过运行

查看您当前的wslconfig
wslconfig /l 

我看到我默认使用旧版本,而 "ubuntu" 是第二个。我通过 运行

注销了遗产
wslconfig /u legacy