Skip to content

Instantly share code, notes, and snippets.

@oscargicast
Forked from oshybystyi/random-emoji.zsh-theme
Last active August 29, 2015 14:21
Show Gist options
  • Save oscargicast/ea90beb32fea3f3aa0ed to your computer and use it in GitHub Desktop.
Save oscargicast/ea90beb32fea3f3aa0ed to your computer and use it in GitHub Desktop.
# zsh
EMOJI=(๐Ÿ’ฉ ๐Ÿฆ ๐Ÿš€ ๐Ÿž ๐ŸŽจ ๐Ÿ• ๐Ÿญ ๐Ÿ‘ฝ โ˜•๏ธ ๐Ÿ”ฌ ๐Ÿ’€ ๐Ÿท ๐Ÿผ ๐Ÿถ ๐Ÿธ ๐Ÿง ๐Ÿณ ๐Ÿ” ๐Ÿฃ ๐Ÿป ๐Ÿ”ฎ ๐Ÿ’ฐ ๐Ÿ’Ž ๐Ÿ’พ ๐Ÿ’œ ๐Ÿช ๐ŸŒž ๐ŸŒ ๐ŸŒ ๐Ÿ“ ๐Ÿ„ )
function random_emoji {
echo -n "$EMOJI[$RANDOM%$#EMOJI+1]"
}
PROMPT="$(random_emoji) "
RPROMPT='%c'
# if you want to show git branch uncomment next lines
RPROMPT='%{$fg_bold[colour255]%}%c$(git_prompt_info)'
ZSH_THEME_GIT_PROMPT_PREFIX=" : "
ZSH_THEME_GIT_PROMPT_SUFFIX=" "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment