Hacker News new | ask | show | jobs
by lars512 521 days ago
Unfortunately, MacOS ships an earlier version of bash that does not include associative arrays, so they’re not as portable as you might like.
1 comments

You can use homebrew to install the latest version of bash and then chsh to set it as your default shell. That’s what I do anyways