1
0
mirror of https://github.com/k4m4/movies-for-hackers.git synced 2024-11-27 16:27:34 +00:00

Add check for whether we are running Bash. Otherwise, run as usual.

This commit is contained in:
Lightwave Feesh 2017-10-07 22:06:16 -05:00
parent 61a8619376
commit e8ddd87bdd

View File

@ -1,4 +1,11 @@
version=0.1 version=0.1
ECHO=echo
case $SHELL in
*bash)
ECHO+=' -e'
;;
esac
#Colors #Colors
white="\033[1;37m" white="\033[1;37m"
@ -12,31 +19,31 @@ Cyan="\033[0;36m"
Cafe="\033[0;33m" Cafe="\033[0;33m"
Fiuscha="\033[0;35m" Fiuscha="\033[0;35m"
blue="\033[1;34m" blue="\033[1;34m"
transparent="\e[0m" transparent="\033[0m"
clear; echo "" clear; $ECHO ""
sleep 0.01 && echo "$purple " 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 " ██╔████╔██║██║ ██║██║ ██║██║█████╗ ███████╗ "
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.2 && 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 " ██╔══╝ ██║ ██║██╔══██╗ ██╔══██║██╔══██║██║ ██╔═██╗ ██╔══╝ ██╔══██╗╚════██║ " 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 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 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 sleep 0.1
echo "" $ECHO "$transparent"