diff --git a/portfolio_server/_install.sh b/portfolio_server/_install.sh index 7360a43..2076713 100644 --- a/portfolio_server/_install.sh +++ b/portfolio_server/_install.sh @@ -18,9 +18,9 @@ else deno fi +# Remove old files if exists +rm -rf /srv/portfolio # Create fs tree is missing mkdir -p /srv/portfolio -# Remove old files if exists -rm -rf /srv/portfolio/* # Clone website repo git clone -b main --depth 1 https://git.cohabit.fr/cohabit/portfolio_server.git /srv/portfolio diff --git a/vim/_install.sh b/vim/_install.sh index f9edea9..993c35d 100644 --- a/vim/_install.sh +++ b/vim/_install.sh @@ -2,5 +2,5 @@ nala install -y vim # Install or upgrade vundle -rm -rf /root/.vim/bundle/Vundle.vim/* +rm -rf /root/.vim/bundle/Vundle.vim git clone https://github.com/VundleVim/Vundle.vim.git /root/.vim/bundle/Vundle.vim diff --git a/zsh/_deploy.sh b/zsh/_deploy.sh index f0c8688..69a22b6 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/* +rm -rf $PATH 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/* +rm -rf $PATH git clone https://github.com/zsh-users/zsh-syntax-highlighting $PATH