Hyper doesn't use default shell on MacOS
See original GitHub issue- I am on the latest Hyper.app version
- I have searched the issues of this repo and believe that this is not a duplicate
- OS version and name: macOS Catalina (10.15.3)
- Hyper.app version: 3.0.2
- Link of a Gist with the contents of your .hyper.js: https://gist.github.com/kevtan/676534f30a79f7d816254b7af515aefe
- Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere): N/A
- The issue is reproducible in vanilla Hyper.app: Is Vanilla
Issue
Right out of the box, on macOS, Hyper still uses bash instead of the system default (which is now zsh). This causes the following annoying message to appear:
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
Running the suggested command chsh -s /bin/zsh
does nothing because it just changes the default system shell… which is already zsh! The issue is that Hyper is launching the bash shell by default, even though this isn’t the system default. It can be easily fixed by changing the shell
field in .hyper.js
to be "/bin/zsh"
but it would be nice if this worked out of the box!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:12
- Comments:11
Top Results From Across the Web
How can I set oh my zsh to be my default shell? - Ask Different
In the “Login Shell” field, select the shell you want to use - /bin/zsh for for the ZSH shell. A piece of friendly...
Read more >Change the default shell in Terminal on Mac - Apple Support
In the Terminal app on your Mac, choose Terminal > Settings, then click General. Next to “Shells open with,” select “Command (complete path),”...
Read more >Hyper Terminal is showing ~% instead of $ - Stack Overflow
It has not much to do with Hyper Terminal, but with the shell you use (bash or zsh). Usually bash uses $ ,...
Read more >Apple changed the default shell from bash to zsh, so did I
Love it or hate it but since macOS Catalina the default shell language is zsh. I am very excited about this decision so...
Read more >Change default Terminal to Hyper.is ? - Discussion & Help
Hyper is an Electron app. Hence it has no support for AppleScript, hence this cannot be made to work properly. You can do...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just to update anyone else who reads this, I had the same issue described above where
$SHELL
was correctly set to/bin/zsh
on Terminal.app, but was still using/bin/bash
on Hyper. For me it was fixed after fully logging out and back in again, simply opening a new terminal session did not work. I guess it could just be a bug withchsh
.In the words of my school IT director, “did you doa restart?”