From ebc365b812e98b9217eb902dd5b0a2d292ec70b7 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Sun, 3 Mar 2024 21:05:16 -0500 Subject: [PATCH] Fix the update script when not using /etc/darkcloud-nvimconfig as the darkcloudpath --- update | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/update b/update index 4d7874e..0b50453 100755 --- a/update +++ b/update @@ -250,27 +250,27 @@ fi ### GENERATE PLUGIN HELP type -P vim >/dev/null && { printf '%s' "$cbg_blue >> Generating plugin help:$c_reset" - $timeout_command --preserve-status --foreground 1m nvim -u ./init.vim -c 'Helptags|qa!' + $timeout_command --preserve-status --foreground 1m nvim -c 'Helptags|qa!' if (( ! $? )); then printf '%s\n' "$cfg_green_bold SUCCESS! $c_reset" else reset -I printf '%s\n' "$cfg_red_bold FAIL! $c_reset" - error "nvim -u './init.vim' -c 'Helptags|qa!'" 'Generating helpdocs for the submodules failed' + error "nvim -c 'Helptags|qa!'" 'Generating helpdocs for the submodules failed' fi } ### UPDATE REMOTE PLUGINS printf '%s' "$cbg_blue >> Updating remote plugins for neovim:$c_reset" -$timeout_command --preserve-status --foreground 1m nvim -u ./init.vim -c ':UpdateRemotePlugins|qa!' +$timeout_command --preserve-status --foreground 1m nvim -c ':UpdateRemotePlugins|qa!' if (( ! $? )); then printf '%s\n' "$cfg_green_bold SUCCESS! $c_reset" else reset -I printf '%s\n' "$cfg_red_bold FAIL! $c_reset" - error "nvim -u ./init.vim -c ':UpdateRemotePlugins|qa!'" 'Updating remote plugins for neovim failed' + error "nvim -c ':UpdateRemotePlugins|qa!'" 'Updating remote plugins for neovim failed' fi ### FINISH