forked from cohabit/server_config
fix(zsh/deploy): use absolute path for cmd due to unknown broken $PATH
This commit is contained in:
parent
807917338e
commit
1b38e01784
|
@ -4,10 +4,10 @@ chsh -s /usr/bin/zsh
|
||||||
|
|
||||||
# Install zsh-autosuggestions plugin
|
# Install zsh-autosuggestions plugin
|
||||||
PATH=${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
PATH=${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
||||||
rm -rf $PATH
|
/usr/bin/rm -rf $PATH
|
||||||
git clone https://github.com/zsh-users/zsh-autosuggestions $PATH
|
/usr/bin/git clone https://github.com/zsh-users/zsh-autosuggestions $PATH
|
||||||
|
|
||||||
# Install zsh-syntax-highlighting
|
# Install zsh-syntax-highlighting
|
||||||
PATH=${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
|
PATH=${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
|
||||||
rm -rf $PATH
|
/usr/bin/rm -rf $PATH
|
||||||
git clone https://github.com/zsh-users/zsh-syntax-highlighting $PATH
|
/usr/bin/git clone https://github.com/zsh-users/zsh-syntax-highlighting $PATH
|
||||||
|
|
Loading…
Reference in a new issue