diff --git a/zsh/_deploy.sh b/zsh/_deploy.sh index ebd364d..f0c8688 100644 --- a/zsh/_deploy.sh +++ b/zsh/_deploy.sh @@ -3,7 +3,11 @@ cp -a ./zsh/zsh/. /root chsh -s /usr/bin/zsh # Install zsh-autosuggestions plugin -git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions +PATH=${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions +rm -rf $PATH/* +git clone https://github.com/zsh-users/zsh-autosuggestions $PATH # Install zsh-syntax-highlighting -git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting +PATH=${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting +rm -rf $PATH/* +git clone https://github.com/zsh-users/zsh-syntax-highlighting $PATH