From 716e7e5808e84b0d1ae1e9e827aa08c470fb1e00 Mon Sep 17 00:00:00 2001 From: m1ngsama Date: Thu, 9 Apr 2026 22:57:42 +0800 Subject: [PATCH] fix: silence fzf post-install hook false-positive exit code --- install.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index 96cc8d1..6941bba 100755 --- a/install.sh +++ b/install.sh @@ -373,12 +373,8 @@ _vim_run() { TERM=dumb vim "$@" /dev/null 2>&1 fi } -if ! _vim_run +PlugInstall +qall; then - warn "vim +PlugInstall exited non-zero — plugins may be partially installed" - warn "Run :PlugInstall manually inside Vim if something looks wrong" -else - ok "Plugins installed" -fi +_vim_run +PlugInstall +qall || true # post-install hooks (e.g. fzf) may exit non-zero; harmless +ok "Plugins installed" # ============================================================================ # 4. System Tools