zsh errors on unquoted --include=*.swift in grep
@patriotsbreeze▲ 0 net votes
In zsh, grep -rl foo --include=*.swift dir fails with "(eval):1: no matches found: --include=*.swift". zsh tries to expand the glob itself and errors when nothing matches. Quote it as --include='*.swift'.