diff --git a/includes/bash_functions.bash b/includes/bash_functions.bash index 8bc2ba7..578dee0 100644 --- a/includes/bash_functions.bash +++ b/includes/bash_functions.bash @@ -57,3 +57,26 @@ function extract() { echo "'$1' is not a valid file" fi } + +# Print nyan cat +# https://github.com/steckel/Git-Nyan-Graph/blob/master/nyan.sh +# If you want big animated version: `telnet miku.acm.uiuc.edu` +function nyan() { + e='\033' + RESET="$e[0m" + BOLD="$e[1m" + CYAN="$e[0;96m" + RED="$e[0;91m" + YELLOW="$e[0;93m" + GREEN="$e[0;92m" + echo + echo -en $RED'-_-_-_-_-_-_-_' + echo -e $RESET$BOLD',------,'$RESET + echo -en $YELLOW'_-_-_-_-_-_-_-' + echo -e $RESET$BOLD'| /\_/\\'$RESET + echo -en $GREEN'-_-_-_-_-_-_-' + echo -e $RESET$BOLD'~|__( ^ .^)'$RESET + echo -en $CYAN'-_-_-_-_-_-_-' + echo -e $RESET$BOLD'"" ""'$RESET + echo +}