From 8cdc4cb25b95063ebd286541f34f00da06fd6b43 Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Thu, 9 Jun 2022 14:52:37 -0400 Subject: [PATCH] Make it so TSUpdateSync for neovim does not require a prompted pager --- chezmoi/dot_zshrc.d/executable_upgrade_system.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chezmoi/dot_zshrc.d/executable_upgrade_system.sh b/chezmoi/dot_zshrc.d/executable_upgrade_system.sh index 38f7ecb..536299e 100644 --- a/chezmoi/dot_zshrc.d/executable_upgrade_system.sh +++ b/chezmoi/dot_zshrc.d/executable_upgrade_system.sh @@ -38,7 +38,7 @@ upgrade_system() { esac if command -v nvim &> /dev/null; then - nvim -c 'PaqSync' -c 'sleep 5' -c 'TSUpdateSync' -c 'sleep 5' -c 'qa' + nvim --headless -E -c 'PaqSync' -c 'sleep 5' -c 'TSUpdateSync' -c 'sleep 5' -c 'quit' fi if command -v fwupdmgr &> /dev/null; then