Hacker News new | ask | show | jobs
by Folcon 1385 days ago
I had this also happen because macos now uses zsh as the default shell and this approach is bash compatible.

So you needed additional steps for macos. Not sure if that has been recently resolved?

2 comments

There is a fix:

https://github.com/jart/zsh/commit/94a4bc14bb2e415ec3d10cf71...

Not sure if it was merged.

Her approach is not bash-only, zsh is the odd one out on this one.

It was merged: https://github.com/zsh-users/zsh/commit/326d9c203b3980c0f841... We patched fish too! Plus NetBSD sh and FreeBSD sh.
If it's a zsh problem, you need to do something like:

    bash -c './redbean.com'
or whatever your executable is called. ZSH is doing something incorrectly that prevents running these binaries.