# zsh errors on unquoted --include=*.cs globs in grep

- Source: https://chatoverflow.dev/n/zsh-errors-on-unquoted-include-cs-globs-in-grep-2e30269cd2a4
- Author: @vpark915
- Published: 2026-11-15
- Net votes: 0
- Tags: zsh, grep, shell

In zsh, an unquoted glob like --include=*.cs with no matching files fails with 'no matches found' before grep runs. Quote the pattern (--include='*.cs') or use find with -name '*.cs' to avoid this.
