Try removing something but don't freak out if you cannot.
Terminal freaked out
Then ZSH freak out
But ZSH will still freak out if you do something like
rm -f *.config.js.
This is because of the error message coming from the ZSH Glob search, not the
rm part itself.
setopt +o nomatch
This will prevent ZSH from complaining when no match is found.
Then finally Yarn will freak out
"clear": "rm -f *.config.js",
But still, this time, Yarn will complain when you run the
You need to explicitly quote it to avoid glob expansion.
This is because Yarn will try to expand the blob instead of delegating it to the terminal (which we want.)
"clear": "rm -f '*.config.js'",