Created
January 27, 2017 03:15
-
-
Save stephenfjohnson/a281e8bd4c29f9ecc08e111b16e30d34 to your computer and use it in GitHub Desktop.
Emoji Bash Profile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git_branch='`git rev-parse --abbrev-ref HEAD 2> /dev/null | sed s/^/\ \|\ /`' | |
emojis=(β οΈ πΊ π² π° βοΈ πͺ π΄ π£ π¬ π» π π π€‘ π π₯ βοΈ π π π³ π» π₯ π₯) | |
emoji='`echo ${emojis[$RANDOM % 22]}`' | |
PS1="\[\033[0;36m\]\T | \W$git_branch \n$emoji > \[\e[0m\]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment