1
0
mirror of https://github.com/k4m4/movies-for-hackers.git synced 2024-11-23 22:44:57 +00:00

Merge pull request #161 from lightwavefeesh/shellfix

Fix: Support the Bash shell, alongside others.
This commit is contained in:
Nikolaos Kamarinakis 2017-12-28 21:50:11 +01:00 committed by GitHub
commit 3c216cd3da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,35 +2,44 @@
version=0.1 version=0.1
case $SHELL in
*bash)
ECHO='echo -e'
;;
*)
ECHO='echo'
;;
esac
# Colors # Colors
purple="\033[0;35m" purple="\033[0;35m"
red="\033[1;31m" red="\033[1;31m"
green="\033[1;32m" green="\033[1;32m"
blue="\033[1;34m" blue="\033[1;34m"
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} ""