fix(zsh/deploy): clean plugins directories before cloning them
This commit is contained in:
parent
42f25ece18
commit
9ac5cc0de0
|
@ -3,7 +3,11 @@ cp -a ./zsh/zsh/. /root
|
||||||
chsh -s /usr/bin/zsh
|
chsh -s /usr/bin/zsh
|
||||||
|
|
||||||
# Install zsh-autosuggestions plugin
|
# 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
|
# 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
|
||||||
|
|
Loading…
Reference in a new issue