bugfixes for after change
This commit is contained in:
parent
68c0238eaf
commit
7ae41ce670
@ -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
|
|
@ -147,7 +147,7 @@ fi
|
|||||||
new_line "Subscribe to PPA for fish"
|
new_line "Subscribe to PPA for fish"
|
||||||
## Setup fish repo in debian
|
## Setup fish repo in debian
|
||||||
VERS={{ .chezmoi.osRelease.versionID }}
|
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
|
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 -}}
|
{{ else -}}
|
||||||
@ -220,7 +220,13 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
new_line "Installing fisher plugins"
|
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
|
tput csr 0 $LINES
|
||||||
|
Loading…
Reference in New Issue
Block a user