You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The install script now allows to specify one of the following options:
* --all
* --none
Both result in any questions being skipped. This is convenient when running the install script from a script, or a provisioning tool like Ansible.
echo"Not enabling any aliases, plugins or completions"
65
+
elif [[ "$1"=="--all" ]]
66
+
then
67
+
echo"Enabling all aliases, plugins and completions."
68
+
load_all aliases
69
+
load_all plugins
70
+
load_all completion
71
+
else
82
72
whiletrue
83
73
do
84
-
read -p "Would you like to enable all, some, or no $type? Some of these may make bash slower to start up (especially completion). (all/some/none) " RESP
85
-
case$RESP
86
-
in
87
-
some)
88
-
load_some $type
89
-
break
90
-
;;
91
-
all)
92
-
load_all $type
93
-
break
94
-
;;
95
-
none)
96
-
break
97
-
;;
98
-
*)
99
-
echo"Unknown choice. Please enter some, all, or none"
100
-
continue
101
-
;;
74
+
read -p "Do you use Jekyll? (If you don't know what Jekyll is, answer 'n') [Y/N] " RESP
echo"Copied the template .jekyllconfig into your home directory. Edit this file to customize bash-it for using the Jekyll plugins"
80
+
break
81
+
;;
82
+
[nN])
83
+
break
84
+
;;
85
+
*)
86
+
echo"Please enter Y or N"
102
87
esac
103
88
done
104
-
done
89
+
90
+
fortypein"aliases""plugins""completion"
91
+
do
92
+
whiletrue
93
+
do
94
+
read -p "Would you like to enable all, some, or no $type? Some of these may make bash slower to start up (especially completion). (all/some/none) " RESP
95
+
case$RESP
96
+
in
97
+
some)
98
+
load_some $type
99
+
break
100
+
;;
101
+
all)
102
+
load_all $type
103
+
break
104
+
;;
105
+
none)
106
+
break
107
+
;;
108
+
*)
109
+
echo"Unknown choice. Please enter some, all, or none"
0 commit comments