SHELL_D=$( id -G | grep -qE '\<(544|0)\>' && echo "#" || echo "\$" ) # Set a default prompt of: user@host and current_directory PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n'"$SHELL_D "