Skip to content

Instantly share code, notes, and snippets.

@AurelienLoyer
Last active August 7, 2019 11:29
Show Gist options
  • Save AurelienLoyer/383e7ee595083d6fb1b710758b6a28eb to your computer and use it in GitHub Desktop.
Save AurelienLoyer/383e7ee595083d6fb1b710758b6a28eb to your computer and use it in GitHub Desktop.
Hey Terminal ! Display me random emoji "🐧" "πŸ¦„" "πŸ”₯" "🐷" "🐱" "🐘"
# Agnoster prompt customization
prompt_context() {
EMOJIS=("🐧" "πŸ¦„" "πŸ”₯" "🐷" "🐱" "🐘")
RANDOM=$$$(date +%s)
prompt_segment black black "${EMOJIS[$RANDOM % ${#EMOJIS[@]}]}"
}
@AurelienLoyer
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment