From 1b38e017840cfa412baed9b2dd709864807e0a70 Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Thu, 11 Jul 2024 14:59:58 +0200 Subject: [PATCH] fix(zsh/deploy): use absolute path for cmd due to unknown broken `$PATH` --- zsh/_deploy.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zsh/_deploy.sh b/zsh/_deploy.sh index 69a22b6..52bf88e 100644 --- a/zsh/_deploy.sh +++ b/zsh/_deploy.sh @@ -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