I want to get a ZSH list from a line-separated output. In my case, from the following command:
ssh myhost ls /Applications
I tried $(ssh myhost ls /Applications)
but that doesn't work (it splits also at spaces).
I want to get a ZSH list from a line-separated output. In my case, from the following command:
ssh myhost ls /Applications
I tried $(ssh myhost ls /Applications)
but that doesn't work (it splits also at spaces).