koalaman/shellcheck

SC1103: "shell=zsh" is unknown on macOS M3 with Homebrew

Closed this issue · 2 comments

The latest version of ShellCheck (0.10.0) installed via Homebrew on an M3 MacBook Air fails to recognize the 'shell=zsh' directive, producing an SC1103 error.

The error occurs even on a minimal test file in /tmp, confirming it is not a configuration or home directory issue.

We have already tried the following troubleshooting steps without success:

  • Verified version is 0.10.0
  • Confirmed correct path with 'which shellcheck'
  • brew reinstall shellcheck
  • hash -r
  • Running with a clean locale (LANG=en_US.UTF-8)
  • Deactivating Conda environment
  • Recreating the directive line to fix potential encoding issuesaWHW

ShellCheck does not support Zsh.

Zsh support is unfortunately not on any roadmap at this time: #809