use this site to generate code for .bashrc file : https://bashrcgenerator.com/ or https://ezprompt.net/ this is my code : export PS1="\[\e[37;40m\][\[\e[m\]\[\e[33;40m\]\u\[\e[m\]\[\e[37;40m\]@\[\e[m\]\[\e[31;40m\]\h\[\e[m\]\[\e[37;40m\]]\[\e[m\]\[\e[40m\] \[\e[m\]\[\e[32;40m\]\w\[\e[m\]\[\e[40m\] \[\e[m\]\[\e[37;40m\]\\$\[\e[m\]\[\e[40m\] \[\e[m\] "