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