question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

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:open
  • Created 4 years ago
  • Reactions:12
  • Comments:11

github_iconTop GitHub Comments

29reactions
alashercommented, Jul 30, 2020

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 with chsh.

1reaction
Liverrrrrcommented, Nov 17, 2021

In the words of my school IT director, “did you doa restart?”

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found