With bash, I used to executed ls *.JPG to list all JPG files of a directory, but since macOS suggested me to move to zsh, this simple command doesn't work anymore and gives me the following error:
$ ls *.JPG
ls: illegal option --
usage: ls [-@ABCFGHLOPRSTUWabcdefghiklmnopqrstuwx1%] [file ...]
What the appropriate equivalent with zsh ?