When I set my shell to /usr/local/bin/zsh (with zsh installed, I know it works because I've been using bash and zsh through command prompt) I get an error that says this:
A JavaScript error occurred in the main process
Uncaught Exception:
Error: File not found:
at Error(native)
at Server.(C:\Users\oreo4\AppData\Localhyper\app-1.0.0\resources\appnode_modules\pty.js\lib...:9)
at emitOne (events.js:96:13)
at Server.emot (events.js:188:7)
at Pipe.onconnection (net.js:1459:8)
Hi, not sure if this applies to your case, but when running from windows you have to set shell to the location of bash.exe. I was having the same issues but setting shell: 'C:\\Windows\\System32\\bash.exe' works for me. I've set zsh as the default terminal in ubuntu so it automatically opens that, but if you want to specify that in the settings I don't know how.
You have to launch zsh in your ~/.bashrc when bash starts since zsh is not a Windows compatible shell:
if test [ -t 1 ]; then
exec zsh
fi
Alternatively, you can specify the the ['-c', 'zsh', '-i', '-l'] args on Hyper's shellArgs config option to automatically start zsh.
@ebemunk Your fix worked! Thank you!
@specro I had already done that, as I said, zsh works fine
Seems like this is resolved? @Artillect re-open if I'm wrong :)
Most helpful comment
Alternatively, you can specify the the
['-c', 'zsh', '-i', '-l']args on Hyper'sshellArgsconfig option to automatically start zsh.