-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.sh
65 lines (46 loc) · 1.41 KB
/
config.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
#!/bin/bash
menu () {
# clear
printf "\n"
printf "1. System UPGRADE -> (pacman -Syu)\n"
printf "2. Install AUR Helper -> yay\n"
printf "3. Install Packages -> (yay -S <packages>)\n"
printf "4. Configure Docker for non-root user\n"
printf "5. Install Oh-My-Zsh\n"
printf "6. Configure Oh-My-Zsh\n"
printf "7. Copy Config files to ~ i.e. home directory\n"
printf "8. Install Miniconda\n"
printf "q. Exit\n\n"
printf "Select: "
}
main () {
# clear
while :
do
#clear
menu
read menu_selection
if [[ $menu_selection == "1" ]]; then
bash scripts/update-arch.sh
elif [[ $menu_selection == "2" ]]; then
bash scripts/yay-install.sh
elif [[ $menu_selection == "3" ]]; then
bash scripts/packages.sh
elif [[ $menu_selection == "4" ]]; then
bash scripts/docker-non-root.sh
elif [[ $menu_selection == "5" ]]; then
bash scripts/setup-ohmy-zsh.sh
elif [[ $menu_selection == "6" ]]; then
bash scripts/zsh-plugins.sh
elif [[ $menu_selection == "7" ]]; then
bash scripts/copy-config.sh
elif [[ $menu_selection == "8" ]]; then
bash scripts/miniconda.sh
elif [[ $menu_selection == "q" ]]; then
exit
else
printf "Wrong Choice!\n"
fi
done
}
main