mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC2033 (markdown)
@@ -17,4 +17,8 @@ Instead, the function contents can be executed in a shell, either through `sh -c
|
|||||||
|
|
||||||
### Contraindications
|
### Contraindications
|
||||||
|
|
||||||
None.
|
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" "$@"
|
||||||
|
}
|
Reference in New Issue
Block a user