Last active
November 30, 2019 09:49
-
-
Save mafintosh/8b420dd5273a137cd6fe 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
# to test run eval "$(curl https://gist.githubusercontent.com/mafintosh/8b420dd5273a137cd6fe/raw/7cd9c707f71b171ef4b9f986c67132978e59da5e/emoji-ps1.sh -sL)" | |
PS1_EMOJIS=("๐" "๐ฌ" "๐" "๐" "๐" "๐" "๐ " "๐" "๐" "๐" "๐" "๐" "๐" "โบ๏ธ" "๐" "๐" "๐" "๐" "๐" "๐" "๐" "๐" "๐" "๐" "๐ค" "๐ค" "๐" "๐ค" "๐" "๐ถ" "๐" "๐" "๐ค" "๐ณ" "๐" "๐" "๐ " "๐" "๐" "๐" "๐ฃ" "๐" "๐ฉ" "๐ค" "๐ฎ" "๐ฑ" "๐จ" "๐ฐ" "๐ฏ" "๐ฆ" "๐ง" "๐ข" "๐ฅ" "๐ช" "๐" "๐ญ" "๐ฒ" "๐ค" "๐ท" "๐ด" "๐ฉ" "๐บ" "๐ธ" "๐น" "๐ป" "๐ผ" "๐ฝ" "๐" "๐ฟ" "๐พ" "๐" "๐" "๐" "๐" "๐" "๐ถ" "๐ถ" "๐ฑ" "๐ญ" "๐น" "๐ฐ" "๐ป" "๐ผ" "๐จ" "๐ฏ" "๐ฆ" "๐ฎ" "๐ท" "๐ฝ" "๐ธ" "๐" "๐ต" "๐" "๐" "๐" "๐" "๐" "๐ง" "๐ฆ" "๐ค" "๐ฃ" "๐ฅ" "๐บ" "๐" "๐ด" "๐ฆ" "๐" "๐" "๐" "๐" "๐" "๐ท" "๐ฆ" "๐ฆ" "๐" "๐ข" "๐ " "๐" "๐ก" "๐ฌ" "๐ณ" "๐" "๐" "๐" "๐ " "๐" "๐" "๐" "๐ช" "๐ซ" "๐" "๐" "๐" "๐" "๐" "๐" "๐" "๐" "๐" "๐ฆ" "๐" "๐" "๐ฉ" "๐" "๐" "๐ฟ" "๐พ" "๐" "๐ฒ" "๐ธ" "๐ค" "๐") | |
_p1_emoji () { | |
printf "${PS1_EMOJIS[$RANDOM % 152]} ${PS1_EMOJIS[$RANDOM % 152]} ${PS1_EMOJIS[$RANDOM % 152]} " | |
} | |
export PS1="$PS1\$(_p1_emoji)" |
Author
mafintosh
commented
Mar 11, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment