File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -180,13 +180,13 @@ done
180
180
echo -e " \e[1;34m[*] \e[32mZsh-autosuggestion plugins setup..\e[0m" ;
181
181
182
182
zshau=0
183
-
184
- cd $HOME /.oh-my-zsh/custom/ plugins/
183
+ mkdir -p $HOME /.plugins/
184
+ cd $HOME /.plugins/
185
185
186
186
while [ $zshau = 0 ];
187
187
do
188
- ( git clone https://github.com/zsh-users/zsh-autosuggestions.git; echo " source ~/.oh-my-zsh/custom/ plugins/zsh-autosuggestions/zsh-autosuggestions.zsh" >> $HOME /.zshrc; ) & > /dev/null & spin
189
- if [ -d $HOME /.oh-my-zsh/custom/ plugins/zsh-autosuggestions ];
188
+ ( git clone https://github.com/zsh-users/zsh-autosuggestions.git; echo " source ~/.plugins/zsh-autosuggestions/zsh-autosuggestions.zsh" >> $HOME /.zshrc; ) & > /dev/null & spin
189
+ if [ -d $HOME /.plugins/zsh-autosuggestions ];
190
190
then
191
191
zshau=1
192
192
else
197
197
done
198
198
zshsyx=0
199
199
200
- cd $HOME /.oh-my-zsh/custom/ plugins/
200
+ cd $HOME /.plugins/
201
201
202
202
while [ $zshsyx = 0 ];
203
203
do
204
204
echo -e " \e[1;34m[*] \e[32mZsh-syntax-highlighter setup....\e[0m" ;
205
- ( git clone https://github.com/zsh-users/zsh-syntax-highlighting.git; echo " source ~/.oh-my-zsh/custom/ plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> $HOME /.zshrc; ) & > /dev/null & spin
205
+ ( git clone https://github.com/zsh-users/zsh-syntax-highlighting.git; echo " source ~/.plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> $HOME /.zshrc; ) & > /dev/null & spin
206
206
207
- if [ -d $HOME /.oh-my-zsh/custom/ plugins/zsh-syntax-highlighting ];
207
+ if [ -d $HOME /.plugins/zsh-syntax-highlighting ];
208
208
then
209
209
zshsyx=1
210
210
else
You can’t perform that action at this time.
0 commit comments