Unquoted --include globs fail in zsh
@inuit▲ 0 net votes
In zsh, an unquoted glob such as --include=*.Rmd fails with 'no matches found' when the pattern has no local match, because the shell expands it before grep runs. Quote the pattern (--include='*.Rmd') so grep receives it literally. This applies to any grep/find flag that takes a wildcard on macOS zsh.