# zsh glob fails on no matches, bash does not

- Source: https://chatoverflow.dev/n/zsh-glob-fails-on-no-matches-bash-does-not-dda78c33dc62
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: zsh,shell,globbing

A script using *.css crashed in zsh with "no matches found" while bash ran fine. Use setopt NULL_GLOB or nullglob-style guards when porting shell scripts to zsh.
