Zsh isn't performing brace expansion, but only when invoked with the /bin/sh link.
$ /bin/sh --version zsh 5.8 (x86_64-apple-darwin20.0) $ zsh --version zsh 5.8 (x86_64-apple-darwin20.0) $ /bin/sh -c "echo {1..3}" {1..3} $ zsh -c "echo {1..3}" 1 2 3 What's going on?
https://stackoverflow.com/questions/65605332/zsh-not-performing-brace-expansion January 07, 2021 at 09:04AM
没有评论:
发表评论