In zsh one can use the built-in command print -l $path
↧
Answer by nicolas for Print array elements on separate lines in Bash?
↧
In zsh one can use the built-in command print -l $path