Change terminal command prompt for root user in Sierra
Add the SUDO_PS1 environment variable to your ~/.bash_profile and then export the variable, such as:

export SUDO_PS1="\[\h:\w\] \u\\$ "

Note however this will only change the root prompt as it appears after you have elevated your rights via sudo.

A good list of prompt variables can be found here.