I created some setting on the .zshrc file to display git branches in a visual way. It runs very well.
After this settings, I went to clean my Terminal visually and decided to remove my username from every line. Found instructions to do it through the Terminal settings, on the Shell tab, by selecting the "Run command" and writing "export PROMPT="myname %1~ %#"; clear;". And it also works well.
The problem is when I close the terminal and open again, only the username removed works, but the git branches do not appear anymore, as if one overwrites the other.
Any suggestions on how to keep both settings together?