mskyaxl / wsl-terminal

Terminal emulator for Windows Subsystem for Linux (WSL)
MIT License
3.12k stars 158 forks source link

can not use 'zsh' after changing default shell #139

Closed ghost closed 5 years ago

ghost commented 5 years ago

After I changing the default shell to 'zsh' by using 'chsh' command, wsl-open didn't use 'zsh' as default shell.

When I opened 'open-wsl', it still used 'bash' not 'zsh'.

-----info----- wsl system version: ubuntu 18.04 windows system version: 1803 17134.472 open-wsl version: 0.8.12

xmine64 commented 5 years ago

i have this problem, also. when i start wsl from cmd or start menu, my shell is /usr/bin/fish but wsl-terminal still uses /usr/bin/bash

xmine64 commented 5 years ago

you need to edit SHELL variable in file etc\wsl-terminal.conf

ghost commented 5 years ago

you need to edit SHELL variable in file etc\wsl-terminal.conf

Thx, I will try it.