fix(zsh/deploy): use absolute path for cmd due to unknown broken $PATH

This commit is contained in:
Julien Oculi 2024-07-11 14:59:58 +02:00
parent 807917338e
commit 1b38e01784

View file

@ -4,10 +4,10 @@ chsh -s /usr/bin/zsh
# Install zsh-autosuggestions plugin
PATH=${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
rm -rf $PATH
git clone https://github.com/zsh-users/zsh-autosuggestions $PATH
/usr/bin/rm -rf $PATH
/usr/bin/git clone https://github.com/zsh-users/zsh-autosuggestions $PATH
# Install 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
/usr/bin/rm -rf $PATH
/usr/bin/git clone https://github.com/zsh-users/zsh-syntax-highlighting $PATH