'How to change the terminal colors for non-root users in zshrc?

I know you can change the terminal colors by editing the "~/.zshrc" and then use the command "source ~/.zshrc" for it to take effect. However, it does not work for non-root users after changes are made to ~/.zshrc.

Is there anyone that knows how to do it?

Cheers.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source