Copilot surprised me by generating a zsh
function that looked like this:
Instead of like this:
It turns out function parentheses are optional in bash and zsh. Though, using parentheses is more POSIX compliant if thatβs relevant for your use case.
In fact, all of these variations are equivalent: