From a809ee91a2e74a1881714efb5d1351e0668f9244 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sat, 9 Dec 2023 14:17:10 -0700 Subject: [PATCH] fix nvim call --- run_once_install.sh.tmpl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/run_once_install.sh.tmpl b/run_once_install.sh.tmpl index 0a6869c..ee193fb 100644 --- a/run_once_install.sh.tmpl +++ b/run_once_install.sh.tmpl @@ -24,5 +24,8 @@ curl https://raw.githubusercontent.com/candrewlee14/webman/main/scripts/install. git clone https://github.com/AstroNvim/AstroNvim ~/.config/nvim git clone https://github.com/candrewlee14/astronvim_config ~/.config/nvim/lua/user -nvim --headless +q - +if test -x ~/.webman/bin/nvim; then + ~/.webman/bin/nvim --headless +q +else + echo "~/.webman/bin/nvim does not exist or is not executable" +fi