Emoji's, the bash prompt and Fridays

I work with a bash prompt all day on a Mac, playing with docker and git, so it is nice to have a prompt that is a bit more interesting,

You can fairly easily include emoji's and some colour escape codes (google bash prompt color escape codes) to liven things up.

The following lives in my .bash_profile

export PS1='\[\033[38;5;220m\]$(__git_ps1)\[$(tput sgr0)\]\n\w 🍏\$ '
if [ "$(date +%a)" = "Fri" ]; then
  export PS1='\[\033[38;5;220m\]$(__git_ps1)\[$(tput sgr0)\]\n\w 🍺\$ '
fi

Mine is a little special on Fridays, being a beer instead of an apple 😃.

I also use two lines, as our branch names get pretty long. Thank goodness for bash completion!!