diff --git a/private_dot_config/nvim/run_onchange_after_nvim_plugins_sync.fish.tmpl b/private_dot_config/nvim/run_onchange_after_nvim_plugins_sync.fish.tmpl deleted file mode 100644 index 68432b1..0000000 --- a/private_dot_config/nvim/run_onchange_after_nvim_plugins_sync.fish.tmpl +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env fish - -# fish_plugins hash {{ include "private_dot_config/nvim/init.lua" | sha256sum }} -set Green '\033[0;32m' # Green -set NC '\033[0m' # No Color - -echo -echo -ne "$Green""Executing neovim :Lazy sync..." - -timeout 30s nvim --headless "+Lazy! sync" +qa || true -timeout 10s nvim --headless ":MasonUpdate" +qa || true - -echo -e " done.$NC" -echo diff --git a/run_onchange_after_install_main_deps.sh.tmpl b/run_onchange_after_install_main_deps.sh.tmpl index d34d322..6ebf001 100644 --- a/run_onchange_after_install_main_deps.sh.tmpl +++ b/run_onchange_after_install_main_deps.sh.tmpl @@ -147,7 +147,7 @@ fi new_line "Subscribe to PPA for fish" ## Setup fish repo in debian VERS={{ .chezmoi.osRelease.versionID }} - echo "deb http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_$VERS/ /" | sudo tee /etc/apt/sources.list.d/shells:fish:release:3.list + echo "deb http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_$VERS/ /" | sudo tee /etc/apt/sources.list.d/shells:fish:release:3.list 2>/dev/null curl -fsSL "https://download.opensuse.org/repositories/shells:fish:release:3/Debian_$VERS/Release.key" | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_fish_release_3.gpg > /dev/null {{ else -}} @@ -220,7 +220,13 @@ then fi new_line "Installing fisher plugins" -fish -c "fisher update" +fish -c "fisher update" 2>&1|pad + + +new_line "Executing neovim :Lazy sync..." + +timeout 30s nvim --headless "+Lazy! sync" +qa || true 2>&1|pad +timeout 10s nvim --headless ":MasonUpdate" +qa || true 2>&1|pad tput csr 0 $LINES