Created
August 19, 2017 22:21
-
-
Save grundic/e9aca0fb0c7d53840f707fd1a5f0ba58 to your computer and use it in GitHub Desktop.
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
# This snippet with randomly select one emoji and put it to the beginning of your PS1. | |
# Just add it to your .bashrc and you'll get new prompt each time! | |
emojies=(๐ ๐ป โ ๐ถ ๐ ๐ ๐ฉ) | |
random_emoji=${emojies[$RANDOM % ${#emojies[@]} ]} | |
export PS1="$random_emoji \[\033[38;5;33m\]\u\[$(tput sgr0)\]\[\033[38;5;208m\]@\[$(tput sgr0)\]\[\033[38;5;32m\]\A\[$(tput sgr0)\]\[\033[38;5;208m\]:\[$(tput sgr0)\]\[\033[38;5;33m\][\[$(tput sgr0)\]\[\033[38;5;36m\]\w\[$(tput sgr0)\]\[\033[38;5;33m\]]\\$\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment