From 1f0ab901f014a7788b6795693dad6235782e3637 Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Sun, 4 May 2025 20:04:13 +0800 Subject: [PATCH] fix run_onchange_before_linux-install-packages.sh.tmpl --- .../run_onchange_before_linux-install-packages.sh.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.chezmoiscripts/run_onchange_before_linux-install-packages.sh.tmpl b/.chezmoiscripts/run_onchange_before_linux-install-packages.sh.tmpl index 86ba179..cfe41d1 100644 --- a/.chezmoiscripts/run_onchange_before_linux-install-packages.sh.tmpl +++ b/.chezmoiscripts/run_onchange_before_linux-install-packages.sh.tmpl @@ -15,7 +15,7 @@ fi {{/* 手動安裝 neovim 0.11.1 */ -}} {{ if eq .chezmoi.arch "amd64"}} -if ! command -v zsh &> /dev/null; then +if ! command -v nvim &> /dev/null; then curl -LO https://github.com/neovim/neovim/releases/download/v0.11.1/nvim-linux-x86_64.appimage chmod u+x nvim-linux-x86_64.appimage ./nvim-linux-x86_64.appimage --appimage-extract