-
Notifications
You must be signed in to change notification settings - Fork 0
/
setupZSH.sh
67 lines (49 loc) · 1.76 KB
/
setupZSH.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
#!/bin/bash
#clear
# import needed functions
source components/plugins.sh
source components/aliases.sh
source components/general.sh
source components/themeUtils.sh
#################################################################################
intialTasks
clearZSHRC
function selectSetupType() {
echo -e "Brief Description
ZapPluginManager -
Complete - Adds OhmyZsh and zsh-user plugins manually, theming, tweaks and aliases
NonTheme Complete (NT) - SAME as complete, expect NO THEMING
Medium - Adds theming, tweaks and aliases
Slim - Adds tweaks and aliases
\vDo you want the Slim, Medium or Complete setup or do you want to install the Zap Plugin Manager?
"
read -rp "(z/s/m/nt/c)" setupTypeSelection
case $setupTypeSelection in
[cC]) clear
ohmyzshPlugins && zshUserPlugins && zshPluginAutoComplete && coloredManPages && userPrompt
themeChooser
metaAliasAndOthers
;;
"nt"|"NT") clear
ohmyzshPlugins && zshUserPlugins && zshPluginAutoComplete && coloredManPages && userPrompt
metaAliasAndOthers
;;
[mM]) clear
themeChooser
metaAliasAndOthers
;;
[sS]) clear
metaAliasAndOthers
;;
[tT]) clear
ohmyzshPlugins
#zshUserPlugins && zshPluginAutoComplete && coloredManPages && userPrompt
#themeChooser
#metaAliasAndOthers
;;
[zZ]) installZapPluginManager ;;
*) echo -e "invalid selection" && sleep 1 && selectSetupType ;;
esac
# my old theming: setupPromptTheme
}
selectSetupType