Bash: nyan cat alias.
This commit is contained in:
parent
7794613b81
commit
a7d9d86b26
@ -57,3 +57,26 @@ function extract() {
|
|||||||
echo "'$1' is not a valid file"
|
echo "'$1' is not a valid file"
|
||||||
fi
|
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
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user