-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] add support for zsh shell #2648
Comments
|
|
Apple deprecated their inclusion of bash in 2019, as newer versions of bash than those used by Apple are GPLv3, while zsh is not. As such zsh has been the default on macOS since macOS 10.15 Catalina (released 2019), which https://support.apple.com/HT208050 confirms. Sooner or later Apple will remove bash from macOS, so having a tool like ShellCheck be ready for when that happens, would be greatly appreciated. (typo fixed, thanks @TinCanTech) |
That needs a shellcheck [SCnnnn] number. |
Some information (2019 posts): |
This is a dupe of #809 . |
shellcheck version 0.9.0
Add support for
shellcheck --shell=zsh
since is highly used. Comes by default in Kali linux and macOS (zsh 5.8.1).Example code:
zsh
will complain whilebash
will work normallyThe fix for both is this:
The text was updated successfully, but these errors were encountered: