From 691f6b2b2d14808228f85607b3e1f2067d9644ee Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Sun, 4 May 2025 18:29:11 +0800 Subject: [PATCH] fix --- .chezmoiscripts/run_onchange_after_install.sh.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.chezmoiscripts/run_onchange_after_install.sh.tmpl b/.chezmoiscripts/run_onchange_after_install.sh.tmpl index c6cda2d..8dcd5b5 100644 --- a/.chezmoiscripts/run_onchange_after_install.sh.tmpl +++ b/.chezmoiscripts/run_onchange_after_install.sh.tmpl @@ -1,12 +1,12 @@ -#!/bin/sh +#!/bin/bash -if command -v zsh &> /dev/null; then +if command -v zsh &> /dev/null; then zsh -i -c 'zinit update' fi -if command -v vim &> /dev/null; then +if command -v vim &> /dev/null; then vim +PlugInstall +qall fi -if command -v nvim &> /dev/null; then +if command -v nvim &> /dev/null; then nvim --headless "+Lazy! update" +qa fi