diff --git a/SC2148.md b/SC2148.md index d825e0b..495f94d 100644 --- a/SC2148.md +++ b/SC2148.md @@ -7,12 +7,12 @@ Add a shebang line to the top of your script: Or, for scripts that will not be executed (*e.g.*, `~/.bashrc`), use a directive: ```bash -# shellcheck shell=sh +# shellcheck shell=bash ``` If neither of those options are possible or desirable, you can invoke ShellCheck with the `--shell` switch: ```bash -shellcheck --shell=bash without-shebang.sh +shellcheck --shell=sh without-shebang.sh ``` See `shellcheck --help` for a list of supported flavors. \ No newline at end of file