Skip to content

Commit c092a6b

Browse files
committed
update
1 parent 24ed649 commit c092a6b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

t-header.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,13 @@ done
180180
echo -e "\e[1;34m[*] \e[32mZsh-autosuggestion plugins setup..\e[0m";
181181

182182
zshau=0
183-
184-
cd $HOME/.oh-my-zsh/custom/plugins/
183+
mkdir -p $HOME/.plugins/
184+
cd $HOME/.plugins/
185185

186186
while [ $zshau = 0 ];
187187
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 ];
190190
then
191191
zshau=1
192192
else
@@ -197,14 +197,14 @@ fi
197197
done
198198
zshsyx=0
199199

200-
cd $HOME/.oh-my-zsh/custom/plugins/
200+
cd $HOME/.plugins/
201201

202202
while [ $zshsyx = 0 ];
203203
do
204204
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
206206

207-
if [ -d $HOME/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting ];
207+
if [ -d $HOME/.plugins/zsh-syntax-highlighting ];
208208
then
209209
zshsyx=1
210210
else

0 commit comments

Comments
 (0)