Use zsh as the default shell on your Mac
If you’re using a bash profile, such as to set environment variables, aliases, or path variables, you should switch to using a zsh equivalent. zprofile:
You can also move some settings from a bash profile to a zsh profile without modification. zsh recognizes a different set of prompt specifiers than bash and has a cleaner syntax for specifying colorized output, eliminating the need to use complex ANSI escape sequences.
Source: support.apple.com