I want to print repeated *
characters in zsh. This answer has a solution that works in bash
:
printf '*%.0s' {1..50}
However when I run that in zsh
, I get this output:
**************************************************%
where the trailing %
sign has inverted colors. This is mysterious to me and I want to know why that happens, and how do I avoid it?