DEV Community

Discussion on: Setup terminal with zsh on windows

Collapse
 
raevilman profile image
RD

hmm. thnx Ben.

chsh worked for me, only when I launch 'Ubuntu' app from start menu.

BUT, as I am using Hyper terminal and have configured its shell as below

shell: 'C:\\Windows\\System32\\bash.exe',
Enter fullscreen mode Exit fullscreen mode

It always starts bash irrespective of the shell set in /etc/passwd either with chsh or usermod -s

So had to add bash -c zsh in .bashrc
Though, can be summoned with just zsh in the .bashrc.

Let me know, if there is any workaround to this situation!

Collapse
 
moopet profile image
Ben Sinclair

Hmm, not sure. I use Windows Terminal and it's configured to run wsl.exe -d Ubuntu instead of a shell directly.
Windows Terminal is alright. It's very slow, but last time I used Hyper Terminal that was even slower!

Thread Thread
 
raevilman profile image
RD

Cool 👍

I just switched to Hyper. Lets see how it behaves with time.

Thanks


For all,
Terminals are UI layer. The above setup will work fine with CMD too.
Below is the screenshot for same [with autosuggestion also]
Hyper CMD