from Hacker News

Apple makes zsh default shell on macOS

by sheharyarn on 6/5/19, 8:16 AM with 44 comments

  • by skrause on 6/5/19, 8:26 AM

  • by zimbatm on 6/5/19, 8:52 AM

    This isn't going to fix the fact that they are shipping a 12 years old version of bash. How many scripts with `#!/usr/bin/env bash` are there out there?

    Bash is the least worst language for bootstrapping since the alternative is POSIX shell which is even more difficult to get right.

    The biggest issue is that Bash 3.x arrays don't work well with `set -u`.

  • by hackbinary on 6/5/19, 8:44 AM

    I thought everyone was using the fish shell on the Mac. :)

    http://fishshell.com/

  • by wirrbel on 6/5/19, 8:47 AM

    I can recommend the GRML ZSH config to go with ZSH https://grml.org/zsh/

    Works out-of-the-box for me on most machines (i.e. I don't maintain shell settings besides downloadding GRML zsh regularly) and it is not as big as oh-my-zsh.

  • by CJefferson on 6/5/19, 8:47 AM

    Is there any news on if apple is keeping python 2 and/or adding 3 by default?
  • by t0mbstone on 6/5/19, 4:30 PM

    If you like zsh, you should check out the "oh-my-zsh" addon, which features 200+ optional plugins (rails, git, OSX, hub, capistrano, brew, ant, php, python, etc), over 140 themes to spice up your morning, and an auto-update tool:

    https://github.com/robbyrussell/oh-my-zsh

  • by simula67 on 6/5/19, 8:58 AM

    No surprise. This has been coming for a long time.
  • by stOneskull on 6/5/19, 8:31 AM

    it doesn't say why. is it a BSD vs GNU thing?
  • by arkano on 6/5/19, 12:11 PM

    It should have been fish shell. :(