Skip to content

Instantly share code, notes, and snippets.

@edib
Last active March 17, 2023 11:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edib/a0228a0b8098e6f9c9c2674c68686047 to your computer and use it in GitHub Desktop.
Save edib/a0228a0b8098e6f9c9c2674c68686047 to your computer and use it in GitHub Desktop.
# ZSH Theme - Preview: https://gyazo.com/8becc8a7ed5ab54a0262a470555c3eed.png
EMOJI=(๐Ÿ’ฉ ๐Ÿฆ ๐Ÿš€ ๐Ÿž ๐ŸŽจ ๐Ÿ• ๐Ÿญ ๐Ÿ‘ฝ โ˜•๏ธ ๐Ÿ”ฌ ๐Ÿ’€ ๐Ÿท ๐Ÿผ ๐Ÿถ ๐Ÿธ ๐Ÿง ๐Ÿณ ๐Ÿ” ๐Ÿฃ ๐Ÿป ๐Ÿ”ฎ ๐Ÿ’ฐ ๐Ÿ’Ž ๐Ÿ’พ ๐Ÿ’œ ๐Ÿช ๐ŸŒž ๐ŸŒ ๐ŸŒ ๐Ÿ“ ๐Ÿ„ ๐Ÿ˜€ ๐Ÿ˜น ๐ŸŒพ โ™‚๏ธ ๐Ÿต ๐ŸฆŽ ๐Ÿฆ– ๐Ÿฆ• ๐Ÿ™ ๐Ÿฆ‘ ๐Ÿฆ ๐Ÿฆž ๐Ÿฆ€ ๐ŸŠ ๐Ÿ… ๐ŸŽ„ ๐ŸŒฒ ๐ŸŒณ ๐ŸŒด ๐ŸŒฑ ๐ŸŒฟ โ˜˜๏ธ ๐ŸŽ ๐ŸŽ‹ ๐Ÿƒ ๐Ÿ‚ ๐Ÿ)
function random_emoji {
echo -n "$EMOJI[$RANDOM%$#EMOJI+1]"
}
# ...
PROMPT="โ•ญโ”€${user_host}${current_dir}${rvm_ruby}${git_branch}${venv_prompt}
โ•ฐโ”€$(random_emoji) %B${user_symbol}%b "
# ...
---
# in robbyrussell.zsh-theme
#
PROMPT="%(?:%{$fg_bold[green]%}$(random_emoji):%{$fg_bold[red]%}$(random_emoji))"
# other emojis
https://gist.github.com/BuonOmo/77b75349c517defb01ef1097e72227af
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment