diff --git a/.chezmoiscripts/run_onchange_after_install.sh.tmpl b/.chezmoiscripts/run_onchange_after_install.sh.tmpl index c344caf..c6cda2d 100644 --- a/.chezmoiscripts/run_onchange_after_install.sh.tmpl +++ b/.chezmoiscripts/run_onchange_after_install.sh.tmpl @@ -10,7 +10,7 @@ if command -v nvim &> /dev/null; then nvim --headless "+Lazy! update" +qa fi -{{ if not .noGUI }} +{{ if and (not .noGUI) (hasKey .chezmoi.osRelease "id") }} {{ 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