bugfixes for after change

This commit is contained in:
Anton Volnuhin 2024-05-21 01:58:12 +03:00
parent 68c0238eaf
commit 7ae41ce670
2 changed files with 8 additions and 16 deletions

View File

@ -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

View File

@ -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