-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any ways to set zsh as default shell? #16
Comments
wsltty simply passes /bin/bash to wslbridge in the shortcuts, the wsl*.bat scripts, and the context menu. |
Oh thanks. Change the shortcuts |
Thanks, so that would be your workaround. |
No. Leave out |
Even if you change the default shell in WSL as indicated in your original comment? |
Seems that WSL doesn's support set default shell. See: microsoft/WSL#846 And
|
I've gotten it to work by putting |
Added section "Shell selection" to project page README. |
Meanwhile it is possible to invoke WSL with the configured default shell, using the wsl.exe wrapper. |
Released 1.8.0 which does not set a preference to /bin/bash anymore. |
I'm still getting bash every time? |
Maybe you'd need to update your shortcuts. If you use the previous shortcuts, you'll get the previous behaviour. |
I'm pretty sure my initial install was after that update I'm using the
|
Right, actually 1.8.0 removes explicit invocation of /bin/bash from the WSLtty shortcuts, but support from wslbridge is still needed to make it work, see rprichard/wslbridge#17. |
Closing for the more generic #86. |
I like to use
zsh
. On ubuntu I can usechsh -s /bin/zsh
to set default shell tozsh
, but how to set the default shell onwsltty
?The text was updated successfully, but these errors were encountered: