linuxshellzsh

ls command messy output


I use zsh. Today I found when typing ls,the output layout in a weird way, It should be list in a column, but it shows like this:

enter image description here

It seems that each item is separated by tab rather than newline.


Solution

  • Finally, I found a way to solve it. I copied a ls program in '/bin' from my friend's computer, and it's OK now.