Skip to content

Instantly share code, notes, and snippets.

@vndmp4
Created January 16, 2023 07:18
Show Gist options
  • Save vndmp4/d244567f47a4fc4cb7562c800daf40e9 to your computer and use it in GitHub Desktop.
Save vndmp4/d244567f47a4fc4cb7562c800daf40e9 to your computer and use it in GitHub Desktop.
nyan_cat_bash_echo.sh
echo_nyan_cat() {
e='\033'
RESET="${e}[0m"
BOLD="${e}[1m"
CYAN="${e}[0;96m"
RED="${e}[0;91m"
YELLOW="${e}[0;93m"
LIGHT_GREEN="${e}[0;92m"
GREEN="${e}[0;32m"
echo
echo -en "$RED"'-_-_-_-_-_-_-_'
echo -e "$RESET"$BOLD',------,'"$RESET"
echo -en "$YELLOW"'_-_-_-_-_-_-_-'
echo -e "$RESET"$BOLD'| /\_/\\'"$RESET"
echo -en "$LIGHT_GREEN"'-_-_-_-_-_-_-'
echo -e "$RESET"$BOLD'~|__( '"$GREEN"'$ '"$RESET"$BOLD'.'"$GREEN"'$'"$RESET"$BOLD')'"$RESET"
echo -en "$CYAN"'-_-_-_-_-_-_-_-'
echo -e "$RESET"$BOLD'"" ""'"$RESET"
echo
}
echo_nyan_cat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment