Use -G instead of --color=auto for ls.