diff --git a/SC2218.md b/SC2218.md index efb39e9..8f7213c 100644 --- a/SC2218.md +++ b/SC2218.md @@ -29,7 +29,7 @@ Function definitions are much like variable assignments, and define a name at th This is especially apparent when defining functions conditionally: -``` +```sh case "$(uname -s)" in Linux) hi() { echo "Hello from Linux"; } ;; Darwin) hi() { echo "Hello from macOS"; } ;;