Created
February 17, 2021 10:25
-
-
Save dmytrotkk/111db556ea9401ff984dba16247ce132 to your computer and use it in GitHub Desktop.
Random emoji for bash session
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
random_emoji() { | |
emojis=(π π π π π πΈ π π» πΏ π π π) | |
selectedexpression=${emojis[$RANDOM % ${#emojis[@]} ]} | |
echo $selectedexpression | |
} | |
export PS1="$(random_emoji) $ " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment