-
Notifications
You must be signed in to change notification settings - Fork 25
/
install.sh
executable file
·82 lines (74 loc) · 2.44 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#!/usr/bin/env bash
#-- constantes
export EDITOR='vim'
export DOTFILES=$PWD
#-- cores
export red=`tput setaf 1`
export green=`tput setaf 2`
export yellow=`tput setaf 3`
export reset=`tput sgr0`
#--- Funcoes
Banner(){
echo "🛸 🌎 ° 🌓 • .°• 🚀 ✯ "
echo "${green} __ __ _______ _ _ _______ ___ ___ "
echo "| |_| || || | _ | || || | | | "
echo "| || _____|| || || || ___|| | | | "
echo "| || |_____ | || |___ | | | | "
echo "| ||_____ || || ___|| |___ | |___ "
echo "| ||_|| | _____| || _ || |___ | || | "
echo "|_| |_||_______||__| |__||_______||_______||_______| "
echo " ______ _______ _______ _______ ___ ___ _______ _______ "
echo "| | | || || || | | | | || |"
echo "| _ || _ ||_ _|| ___|| | | | | ___|| _____|"
echo "| | | || | | | | | | |___ | | | | | |___ | |_____"
echo "| |_| || |_| | | | | ___|| | | |___ | ___||_____ |"
echo "| || | | | | | | | | || |___ _____| |"
echo "|______| |_______| |___| |___| |___| |_______||_______||_______|"
echo " ★ * ° 🛰 °· 🪐 "
echo ". • ° ★ • ☄ ${reset}"
echo " "
}
Menu(){
#echo "#################################"
#echo "# #"
#echo "# Mswell DotFiles #"
#echo "# #"
#echo "#################################"
#echo
echo "[1] - Ubuntu like"
echo "[2] - ArchLinux like"
echo "[3] - OSX"
echo "[4] - Archlinux WSL"
echo "[0] - Exit"
echo
echo -n "Choose your distro: "
read option
case $option in
1) Ubuntu ;;
2) Archlinux ;;
3) OSX ;;
4) ArchWSL ;;
0) exit ;;
*) "Unknown option" ; echo ; Menu ;;
esac
}
Ubuntu(){
echo "Initializing setup :)"
source setup/ubuntu/setup.sh
}
Archlinux(){
echo "Initializing setup :)"
source setup/archlinux/setup.sh
}
ArchWSL(){
echo "Initializing setup :)"
source setup/archWSL/setup.sh
}
OSX(){
echo "Initializing setup :)"
source setup/osx/setup.sh
}
#----- Inicio
clear
Banner
Menu