From 88e357bc864a53ef7ea7e442d6f590f4c9ac4387 Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Fri, 25 Apr 2025 09:52:48 +0800 Subject: [PATCH] =?UTF-8?q?fix=20winscp=20script:=20=E9=82=8F=E8=BC=AF?= =?UTF-8?q?=E6=90=9E=E5=8F=8D=E4=BA=86=EF=BC=8C=E8=A6=81=E6=9C=89=E8=A9=B2?= =?UTF-8?q?=E8=B3=87=E6=96=99=E5=A4=BE=E6=89=8D=E6=9C=83=E5=9F=B7=E8=A1=8C?= =?UTF-8?q?=E5=8B=95=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .chezmoiscripts/run_onchange_after_install.sh.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.chezmoiscripts/run_onchange_after_install.sh.tmpl b/.chezmoiscripts/run_onchange_after_install.sh.tmpl index 71ad004..9edfda4 100644 --- a/.chezmoiscripts/run_onchange_after_install.sh.tmpl +++ b/.chezmoiscripts/run_onchange_after_install.sh.tmpl @@ -3,7 +3,7 @@ zsh -i -c 'zinit update' vim +PlugInstall +qall -{{ if and (eq .chezmoi.os "linux") (not (stat (print .chezmoi.homeDir "/.winscp"))) }} +{{ if and (eq .chezmoi.os "linux") (stat (print .chezmoi.homeDir "/.winscp")) }} {{ if or (eq .chezmoi.osRelease.id "manjaro") (eq .chezmoi.osRelease.id "arch") }} mkdir -p ~/.winscp mkdir -p ~/.winscp/drive_c/users/{{ .chezmoi.username }}/.ssh