Created
June 6, 2017 21:26
-
-
Save seattlesuekim/a54b025397627ab385cf5f61a3303618 to your computer and use it in GitHub Desktop.
Glam up your bash_profile PS1
This file contains 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
emojis=(π π π π π π π π π π π π π ) | |
emoji='`[[ $? -eq 0 ]] && echo ${emojis[$RANDOM % 13]} || echo X`' | |
PS1="\n\[\033[38;5;51m\] \t | \[\033[38;5;157m\]\u@\h\\[\033[38;5;51m\] | \W | $emoji | \$ \[\e[0;37m\]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment