mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Merge acd2f589fd into 5667161d49
This commit is contained in:
commit
25a2da51cc
1 changed files with 13 additions and 0 deletions
13
themes/emoji.zsh-theme
Normal file
13
themes/emoji.zsh-theme
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
EMOJI=(💩 🐦 🚀 🐞 🎨 🍕 🐭 👽 ☕️ 🔬 💀 🐷 🐼 🐶 🐸 🐧 🐳 🌟 🍔 🍣 🍻 ⛵️ 🔮 💰 💎 💾 💜 🍪 🌞 🌍 🐌 🐓 🍄 )
|
||||
|
||||
function random_emoji {
|
||||
echo -n "$EMOJI[$RANDOM%$#EMOJI+1]"
|
||||
}
|
||||
|
||||
PROMPT="$(random_emoji) "
|
||||
RPROMPT='%{$fg_bold[colour255]%}%c$(git_prompt_info)'
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX=" : "
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX=" "
|
||||
Loading…
Add table
Add a link
Reference in a new issue