From e47ffceba8eb7c1d660240489d81ed333d3e706a Mon Sep 17 00:00:00 2001 From: koalaman Date: Sat, 16 Aug 2014 10:49:03 -0700 Subject: [PATCH] Updated SC2033 (markdown) --- SC2033.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/SC2033.md b/SC2033.md index 80abcfd..8b2a70c 100644 --- a/SC2033.md +++ b/SC2033.md @@ -17,4 +17,8 @@ Instead, the function contents can be executed in a shell, either through `sh -c ### Contraindications -None. \ No newline at end of file +If you're intentionally passing a word that happens to have the same name as a declared function, you can quote it to make shellcheck ignore it, e.g. + + apt-get() { + sudo "apt-get" "$@" + } \ No newline at end of file