Live data from Hacker News

Use zsh as the default shell on your Mac

support.apple.com

211–220 of 252 posts

Re: Use zsh as the default shell on your Mac

#211

Earlier quoted context omitted.

The only crashes I've had from NT kernel over the past 15 years or so are from graphics card drivers and bad RAM. Linux is a lot less stable, as a laptop OS, than Windows or OSX. Suspend and resume in presence and absence of multiple monitors is like rolling dice; locks up about 15% of the time.

> Linux is a lot less stable, as a laptop OS, than Windows or OSX. Can't remember any major problems with Linux on laptops for latest 5 years. All works like charm. If you use a cheap/noname/non-popular hardware - it happens, yes, but in Windows world too.

Lenovo Thinkpad.

It's the multi-monitor / dock interaction. It's just not solid.

Re: Use zsh as the default shell on your Mac

#212
post #184

Earlier quoted context omitted.

The only crashes I've had from NT kernel over the past 15 years or so are from graphics card drivers and bad RAM. Linux is a lot less stable, as a laptop OS, than Windows or OSX. Suspend and resume in presence and absence of multiple monitors is like rolling dice; locks up about 15% of the time.

Not my experience. I used mostly Linux for 15 years, and I had zero problems with laptops, external screens and suspend in the past 8 years. I have a Linux laptop that's used for demo hooked up to a TV, settings are changed from dual screen to mirroring all the time, then it goes to sleep, is woken up with the TV off, etc, zero trouble, it hadn't rebooted in 2 months. And Windows still requires random reboots for upd…

I've been using Linux since 1996; not wet behind the ears. Graphics drivers are substantially worse on Linux than Windows, and even on Windows they're still the main source of problems.

A mix of dock and undock with multiple monitors is dodgy; like rolling a die. Plugging in the display port cable after a resume from a prior docked suspend, for a presentation, is flipping a coin.

Re: Use zsh as the default shell on your Mac

#213

Fantastic! Any time I get a new mac I install homebrew ZSH and edit /etc/shells to add it in.

macOS already ships with zsh, and has done so for years, it’s just not the default shell. Unless you want to always have the very latest version of zsh, you don’t need to install it with homebrew.

Re: Use zsh as the default shell on your Mac

#214
post #184

Earlier quoted context omitted.

Not my experience. I used mostly Linux for 15 years, and I had zero problems with laptops, external screens and suspend in the past 8 years. I have a Linux laptop that's used for demo hooked up to a TV, settings are changed from dual screen to mirroring all the time, then it goes to sleep, is woken up with the TV off, etc, zero trouble, it hadn't rebooted in 2 months. And Windows still requires random reboots for upd…

I've been using Linux since 1996; not wet behind the ears. Graphics drivers are substantially worse on Linux than Windows, and even on Windows they're still the main source of problems. A mix of dock and undock with multiple monitors is dodgy; like rolling a die. Plugging in the display port cable after a resume from a prior docked suspend, for a presentation, is flipping a coin.

A lot of what you say describes a fairly common experience with Windows too. Perhaps not with a Thinkpad maybe but I’ve failed to revive a sleeping windows machine on a few occasions, and switching between output sources can be unpredictable too. Mac is the only platform which consistenly succeeds at these kinds of things because of the vertically integrates hardware. Its the drivers as you say ... I don’t think the actual o/s has much say in it beyond the drivers that are supported.

Re: Use zsh as the default shell on your Mac

#217
post #152

Earlier quoted context omitted.

They're just going to remove it completely: > Scripting language runtimes such as Python, Ruby, and Perl are included in macOS for compatibility with legacy software. In future versions of macOS, scripting language runtimes won’t be available by default, and may require you to install an additional package. https://developer.apple.com/documentation/xcode_release_note...

> Use of Python 2.7 isn’t recommended. This version is included in macOS for compatibility with legacy software. Future versions of macOS won’t include Python 2.7. Instead, it’s recommended that you run python3 in Terminal. (51097165) and > LLDB’s Python scripting is now based on Python 3. If you are using Python extensions that aren’t compatible with Python 3, they will break. To help with the transition, you can ru…

The open secret to using Python on macOS is to leave the system Python (2.7x) completely alone and install pyenv/pipenv to manage your environments. This will save you a world of pain. Since it's 2019 and I no longer need 2.7, when I run this...

$ pyenv versions

system

* 3.7.3 (set by /Users/wyclif/.pyenv/version)

...it's dead simple. Now, if I wanted to I could manage any number of previous versions with pyenv and pipenv.

Re: Use zsh as the default shell on your Mac

#218

Earlier quoted context omitted.

I've moved on to Windows since last year. Besides terminal emulators being shit (which they're fixing now), worse PDF support and shit OS config management, there's really not much anymore that goes in favor of Macs. Their laptops are worthless junk at 40% markup, the OS gets buggier and more locked down with every version while Windows is on a clear trajectory of improvement and PC hardware gives real choice and inn…

My biggest problem with Windows is that you can't scroll in a window or a pane without clicking on it first. Both Mac and Linux support that and it makes the OS feel so clunky.

Also: there was an app, sorry, a program we used with Windows98 that did this, Focus something or other it was called.

Re: Use zsh as the default shell on your Mac

#219

Earlier quoted context omitted.

> Linux is a lot less stable, as a laptop OS, than Windows or OSX. Can't remember any major problems with Linux on laptops for latest 5 years. All works like charm. If you use a cheap/noname/non-popular hardware - it happens, yes, but in Windows world too.

Lenovo Thinkpad. It's the multi-monitor / dock interaction. It's just not solid.

Which dock do you have?

I've had issues with USB-C docks. I've had zero issues over four different Thinkpads (FC28 and FC29) with the Lenovo Thunderbolt dock.

Re: Use zsh as the default shell on your Mac

#220

Earlier quoted context omitted.

That's my point. Why can't Apple ship an updated userland built in, through the Store, or as a download triggered by a command line (like XCode is).

Because GPL v3 says you have to run modified binaries and that means Apple has to give its private keys.

Why do they have to run modified binaries?
Post reply on HN