Convert PS1 prompt from bash to zsh for colour customisation

Solution 1:

It took me a while to figure this out, but I thought I'd post the answer here in case someone finds this helpful. This is the zsh equivalent to the above bash prompt

export PS1=$'\033[36m%n\033[m@\033[32m%m:\033[33;1m%~\033[m\$'