ls +([0-9]).jpg в zsh не работает, а в bash - да.
Такое выражение ls +([0-9]).jpg в zsh не работает, а в bash - да.
$ ls +([0-9]).jpg
bash: syntax error near unexpected token `('If the extglob shell option is enabled using the shopt builtin, several extended pattern matching operators are recognized.