diff --git a/SC2148.md b/SC2148.md index a07b9df..16afb5c 100644 --- a/SC2148.md +++ b/SC2148.md @@ -1,5 +1,12 @@ Add shebang to the top of your script: -`` +```bash #!/bin/bash -`` \ No newline at end of file +``` + +Alternatively, if that is not possible / desirable, you can use the `--shell` switch: +```bash +shellcheck --shell=bash without-shebang.sh +``` + +See `shellcheck --help` for a list of supported flavors. \ No newline at end of file