ZSH has a simple built-in function for repeating a command n times:
repeat 5 echo "Command"
For multiple commands:
repeat 5 {echo "Command1"; echo "Command2"}
ZSH has a simple built-in function for repeating a command n times:
repeat 5 echo "Command"
For multiple commands:
repeat 5 {echo "Command1"; echo "Command2"}