Last Updated: February 25, 2016
·
1.567K
· demanuel

Terminal's bash prompt with emoticons

export PS1="\w\`echo -e '\[\e[01;32m\]\xE2\x9A\xA1';\` \[\e[01;34m\]\[\e[00m\]"

Picture

Just change the URL Escape \xE2\x9A\xA1 with the code you wish. You can find the byte codes here http://rishida.net/scripts/uniview/