bash-ps1-environment-variable Bash PS1 environment variable for /etc/bashrc or .bash_profile file. Usage Just add or change the PS1 variable. PS1='\u@\h:\[\e[0;36m\w\]\[\e[0;35m\$\] \[\e[0m\]' or export PS1='\u@\h:\[\e[0;36m\w\]\[\e[0;35m\$\] \[\e[0m\]'