Fix: Support the Bash shell, alongside others.

This commit is contained in:
Lightwave Feesh 2017-12-27 23:55:57 -06:00
parent fab6c95a58
commit 13900cc1cc
No known key found for this signature in database
GPG Key ID: DD21B07EE1B068E0

View File

@ -2,35 +2,44 @@
version=0.1
case $SHELL in
*bash)
ECHO='echo -e'
;;
*)
ECHO='echo'
;;
esac
# Colors
purple="\033[0;35m"
red="\033[1;31m"
green="\033[1;32m"
blue="\033[1;34m"
clear; echo ""
sleep 0.01 && echo "$purple "
sleep 0.2 && echo " ███╗ ███╗ ██████╗ ██╗ ██╗██╗███████╗███████╗ "
sleep 0.2 && echo " ████╗ ████║██╔═══██╗██║ ██║██║██╔════╝██╔════╝ "
sleep 0.2 && echo " ██╔████╔██║██║ ██║██║ ██║██║█████╗ ███████╗ "
sleep 0.2 && echo " ██║╚██╔╝██║██║ ██║╚██╗ ██╔╝██║██╔══╝ ╚════██║ "
sleep 0.2 && echo " ██║ ╚═╝ ██║╚██████╔╝ ╚████╔╝ ██║███████╗███████║ "
sleep 0.2 && echo " ╚═╝ ╚═╝ ╚═════╝ ╚═══╝ ╚═╝╚══════╝╚══════╝ "
clear; ${ECHO} ""
sleep 0.01 && ${ECHO} "$purple "
sleep 0.2 && ${ECHO} " ███╗ ███╗ ██████╗ ██╗ ██╗██╗███████╗███████╗ "
sleep 0.2 && ${ECHO} " ████╗ ████║██╔═══██╗██║ ██║██║██╔════╝██╔════╝ "
sleep 0.2 && ${ECHO} " ██╔████╔██║██║ ██║██║ ██║██║█████╗ ███████╗ "
sleep 0.2 && ${ECHO} " ██║╚██╔╝██║██║ ██║╚██╗ ██╔╝██║██╔══╝ ╚════██║ "
sleep 0.2 && ${ECHO} " ██║ ╚═╝ ██║╚██████╔╝ ╚████╔╝ ██║███████╗███████║ "
sleep 0.2 && ${ECHO} " ╚═╝ ╚═╝ ╚═════╝ ╚═══╝ ╚═╝╚══════╝╚══════╝ "
echo ""
sleep 0.2 && echo " ███████╗ ██████╗ ██████╗ ██╗ ██╗ █████╗ ██████╗██╗ ██╗███████╗██████╗ ███████╗ "
sleep 0.2 && echo " ██╔════╝██╔═══██╗██╔══██╗ ██║ ██║██╔══██╗██╔════╝██║ ██╔╝██╔════╝██╔══██╗██╔════╝ "
sleep 0.2 && echo " █████╗ ██║ ██║██████╔╝ ███████║███████║██║ █████╔╝ █████╗ ██████╔╝███████╗ "
sleep 0.2 && echo " ██╔══╝ ██║ ██║██╔══██╗ ██╔══██║██╔══██║██║ ██╔═██╗ ██╔══╝ ██╔══██╗╚════██║ "
sleep 0.2 && echo " ██║ ╚██████╔╝██║ ██║ ██║ ██║██║ ██║╚██████╗██║ ██╗███████╗██║ ██║███████║ "
sleep 0.2 && echo " ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚══════╝ "
${ECHO} ""
sleep 0.2 && ${ECHO} " ███████╗ ██████╗ ██████╗ ██╗ ██╗ █████╗ ██████╗██╗ ██╗███████╗██████╗ ███████╗ "
sleep 0.2 && ${ECHO} " ██╔════╝██╔═══██╗██╔══██╗ ██║ ██║██╔══██╗██╔════╝██║ ██╔╝██╔════╝██╔══██╗██╔════╝ "
sleep 0.2 && ${ECHO} " █████╗ ██║ ██║██████╔╝ ███████║███████║██║ █████╔╝ █████╗ ██████╔╝███████╗ "
sleep 0.2 && ${ECHO} " ██╔══╝ ██║ ██║██╔══██╗ ██╔══██║██╔══██║██║ ██╔═██╗ ██╔══╝ ██╔══██╗╚════██║ "
sleep 0.2 && ${ECHO} " ██║ ╚██████╔╝██║ ██║ ██║ ██║██║ ██║╚██████╗██║ ██╗███████╗██║ ██║███████║ "
sleep 0.2 && ${ECHO} " ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚══════╝ "
echo ""
${ECHO} ""
sleep 0.1
echo $green" A list of movies every hacker & cyberpunk must watch ("$red"Movies For Hackers"$green")"
${ECHO} $green" A list of movies every hacker & cyberpunk must watch ("$red"Movies For Hackers"$green")"
sleep 0.1
echo $blue " Made with <3 by:"$green" Nikolaos Kamarinakis ("$red"k4m4"$green")"
${ECHO} $blue " Made with <3 by:"$green" Nikolaos Kamarinakis ("$red"k4m4"$green")"
sleep 0.1
echo ""
${ECHO} ""