News for hackers. Stuff that matters.
Re:The Worst Experience I've Had with an Aarch64 MacBook by koolba on Monday February 15, 2021 @09:13PM (#26150164)
Does it still come with a 20 year version of bash by default?
Re:The Worst Experience I've Had with an Aarch64 MacBook by anuragsoni on Monday February 15, 2021 @10:14PM (#26150510)
Starting with macOS Catalina zsh is the default [1] shell.

[1] https://support.apple.com/en-us/HT208050

Re:The Worst Experience I've Had with an Aarch64 MacBook by dietr1ch on Tuesday February 16, 2021 @05:04AM (#26152547)
TIL zsh is more than 20 years old

https://en.wikipedia.org/wiki/Z_shell

Re:The Worst Experience I've Had with an Aarch64 MacBook by _-___________-_ on Monday February 15, 2021 @09:40PM (#26150315)
sudo port install bash && echo /usr/local/bin/bash | sudo tee -a /etc/shells && chsh -s /usr/local/bin/bash
Re:The Worst Experience I've Had with an Aarch64 MacBook by asguy on Monday February 15, 2021 @11:01PM (#26150784)
... and then you run a script that depends on `/bin/bash` .. but uses a feature (e.g. coproc, associative arrays) from a version less than a decade old. And then you go and update your PATH and shebang lines to call out `/usr/bin/env bash` and hope things go right.
Re:The Worst Experience I've Had with an Aarch64 MacBook by eric-hu on Monday February 15, 2021 @09:16PM (#26150180)
Something like that, but they changed the default shell to zsh, which is newer.
Re:The Worst Experience I've Had with an Aarch64 MacBook by bombcar on Monday February 15, 2021 @10:01PM (#26150441)
I thank Apple for going to zsh- forcing me to begin learning it and now I have it on all my mzchiesn.
Re:The Worst Experience I've Had with an Aarch64 MacBook by Toutouxc on Thursday February 18, 2021 @05:31AM (#26178208)
I find your misspelling of "machines" charming.
Re:The Worst Experience I've Had with an Aarch64 MacBook by bombcar on Thursday February 18, 2021 @07:03AM (#26178863)
I am continually boggled by what my iPhone corrects and doesn’t correct.
Re:The Worst Experience I've Had with an Aarch64 MacBook by nijaru on Monday February 15, 2021 @10:40PM (#26150665)
I prefer linux, but it is quite easy to install different shells on macOS.