From 0c0d2d9434f32a328876778b399dff5e80963254 Mon Sep 17 00:00:00 2001 From: Alan Chester Date: Mon, 30 Mar 2026 18:39:55 -0400 Subject: [PATCH] fix: suppress vim pager prompt during plugin install vim-go's update output is longer than one screen, causing a `-- More --` pager pause that blocks unattended setup. Use `--not-a-term -c "set nomore"` to disable the pager and suppress terminal UI rendering. Co-Authored-By: Claude Sonnet 4.6 --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 37a139d..6c90f60 100755 --- a/setup.sh +++ b/setup.sh @@ -66,7 +66,7 @@ bash "$REPO_DIR/scripts/install-dotfiles.sh" \ echo "" echo "▶ Installing Vim plugins..." if [[ -f "$HOME/.vim/autoload/plug.vim" ]]; then - vim +PlugInstall +qall 2>/dev/null && echo " Vim plugins installed ✓" \ + vim --not-a-term -c "set nomore" +PlugInstall +qall 2>/dev/null && echo " Vim plugins installed ✓" \ || echo " Warning: vim +PlugInstall had errors (plugins may still be installed)" else echo " vim-plug not found — skipping (run: install-dotfiles.sh first)"