Skip to content
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

Use OSX's built-in Zsh #70

Merged
merged 1 commit into from
Aug 14, 2017
Merged

Use OSX's built-in Zsh #70

merged 1 commit into from
Aug 14, 2017

Conversation

gabebw
Copy link
Owner

@gabebw gabebw commented Aug 12, 2017

I recently restored my files to a new computer, but didn't copy over /usr/local.

When I signed in, my $SHELL was set to /usr/local/bin/zsh, which didn't exist, and so Terminal.app exited immediately upon opening. I had to use iTerm (with a custom profile that overrode my user's $SHELL) in order to log in and change my shell back to /bin/zsh in order to do anything.

Obviously this was a total nightmare. To fix it:

  • Don't install Zsh via Homebrew at all. OSX ships with Zsh 5.2 now, which a comment from Past Gabe implies was the whole reason to use Homebrew-provided Zsh.
  • Set my shell to the ever-present /bin/zsh to prevent the above nightmare from recurring.

I recently restored my files to a new computer, but didn't copy over
/usr/local.

When I signed in, my $SHELL was set to /usr/local/bin/zsh, which didn't
exist, and so Terminal.app exited immediately upon opening. I had to
use iTerm (with a custom profile that overrode my user's $SHELL) in
order to log in and change my shell back to /bin/zsh in order to do
anything.

Obviously this was a total nightmare. To fix it:

* Don't install Zsh via Homebrew at all. OSX ships with Zsh 5.2 now,
  which a comment from Past Gabe implies was the whole reason to use
  Homebrew-provided Zsh.
* Set my shell to the ever-present /bin/zsh to prevent the above
  nightmare from recurring.
@gabebw gabebw merged commit 596f16e into master Aug 14, 2017
@gabebw gabebw deleted the gbw-built-in-zsh branch August 14, 2017 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant