I recently switched to zsh. In bash, when I use
"ls --hide=*.pyc" in a file with no .pyc files, ls works as expected. In zsh, "ls --hide=*.pyc" works when the directory contains .pyc files, but fails with
zsh: no matches found: --hide=*.pyc when no matches are found.
I would like to alias ls as
"ls --hide=*.pyc"; is it possible to get zsh to stop complaining when no matches are found?