remove lazygit's remains'

This commit is contained in:
Anton Volnuhin 2024-05-21 02:44:38 +03:00
parent 1725e27fa1
commit ee21e45ffb

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
#Config #Config
STEPS=14 STEPS=15
PAD_LEN=4 PAD_LEN=4
BASE_PACKAGES="gnupg curl wget git gcc pipx" BASE_PACKAGES="gnupg curl wget git gcc pipx"
@ -204,6 +204,8 @@ new_line "manually installing LazyGit"
curl --silent -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz" 2>&1|pad curl --silent -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz" 2>&1|pad
tar xf lazygit.tar.gz lazygit 2>&1|pad tar xf lazygit.tar.gz lazygit 2>&1|pad
sudo install lazygit /usr/local/bin 2>&1|pad sudo install lazygit /usr/local/bin 2>&1|pad
rm ~/lazygit
rm ~/lazygit.tar.gz
{{ end -}} {{ end -}}
{{ if eq .chezmoi.os "linux" -}} {{ if eq .chezmoi.os "linux" -}}
@ -226,9 +228,8 @@ fish -c "tide configure --auto --style=Classic --prompt_colors='True color' --cl
fish -c "set -Ux tide_context_always_display true" fish -c "set -Ux tide_context_always_display true"
new_line "Executing neovim :Lazy sync..." new_line "Executing neovim :Lazy sync..."
timeout 30s nvim --headless "+Lazy! sync" +qa 2>&1|pad timeout 30s nvim --headless "+Lazy! sync" +qa 2>&1|pad
timeout 10s nvim --headless ":MasonUpdate" +qa 2>&1|pad timeout 15s nvim --headless ":MasonUpdate" +qa 2>&1|pad
new_line "Change default shell to fish for user $USER" new_line "Change default shell to fish for user $USER"