Since version 10.15 zsh is the default shell in macOS. The configuration file for zshis .zprofile.
Colouring ls
Using the following aliases lsget coloured. Also a common default alias for detailed file listings is added.
echo "alias ls='ls --color'" >> ~/.zprofile
echo "alias ll='ls -l --color'" >> ~/.zprofile