Skip to content

Instantly share code, notes, and snippets.

@themarcba
Created May 25, 2021 14:53
Show Gist options
  • Save themarcba/6030cefd294ae878f8f3517082c69df4 to your computer and use it in GitHub Desktop.
Save themarcba/6030cefd294ae878f8f3517082c69df4 to your computer and use it in GitHub Desktop.
if [[ "$*" == "whiskey" || "$*" == "whiskey wednesday" ]]; then
MESSAGE="Whiskey and coding, what can go wrong? Cheers! πŸ™Œ"
PREFIX='πŸ₯ƒ'
elif [[ "$*" == "beer" || "$*" == "happy hour" ]]; then
MESSAGE='Cheers 🍻'
PREFIX='🍺'
elif [[ "$*" == "frontend" || "$*" == "fe" ]]; then
MESSAGE=''
PREFIX='🎨'
elif [[ "$*" == "backend" || "$*" == "be" ]]; then
MESSAGE=''
PREFIX='πŸš€'
elif [[ "$*" == "deno" || "$*" == "dino" ]]; then
MESSAGE=''
PREFIX='πŸ¦•'
elif [[ "$*" == "party" ]]; then
MESSAGE="It's party time πŸ₯³"
PREFIX='πŸŽ‰'
elif [[ "$*" == "prod" ]]; then
MESSAGE="Production time! Keep your head cool, you got this πŸ’ͺ"
PREFIX='πŸ’₯'
elif [[ "$*" == "fire" ]]; then
MESSAGE="Uh oh! What happened?"
PREFIX='πŸ”₯'
elif [[ "$*" == "fuck" ]]; then
MESSAGE="WHAT THE FUCK?!"
PREFIX='🀬'
elif [[ "$*" == "friday" ]]; then
MESSAGE="Wohoo, it's Friday! Don't mess it up by deploying something."
PREFIX='πŸŽ‰'
else
MESSAGE=""
PREFIX=''
fi
export SPACESHIP_CHAR_PREFIX="$PREFIX "
clear
if [[ "$MESSAGE" != "" ]]; then
echo $MESSAGE
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment