- Add Renode installation (AUR/deb) with arduino-sim helper script supporting STM32F4, RP2040, and nRF52840 (USB HID) platforms - Add nvim-dap + nvim-dap-ui with GDB remote adapter for Renode debugging - Add debug keybindings under <leader>d prefix - Fix backup_config() path collisions when multiple sources share a basename (e.g. ~/.config/nvim and ~/.local/share/nvim) - Strip NvChad starter's nvim-lspconfig block that conflicts with native vim.lsp.config, preserving configs/lazy.lua - Update step counts from 11 to 12 (TOTAL_STEPS 12→13, 13→14 on WSL) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
698 B
Bash
20 lines
698 B
Bash
#!/bin/bash
|
|
# Step 8: Git + Lazygit
|
|
|
|
step "11/12 — Setting up Git + Lazygit"
|
|
|
|
if $IS_ARCH; then
|
|
$PKG_INSTALL lazygit
|
|
else
|
|
LAZYGIT_VERSION=$(curl -ks "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | jq -r '.tag_name' | sed 's/v//')
|
|
curl -kLo /tmp/lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
|
|
tar xf /tmp/lazygit.tar.gz -C /tmp lazygit
|
|
sudo mv /tmp/lazygit /usr/local/bin/
|
|
fi
|
|
info "Lazygit installed/updated"
|
|
|
|
mkdir -p ~/.config/lazygit
|
|
backup_config ~/.config/lazygit/config.yml
|
|
write_lazygit_config ~/.config/lazygit/config.yml
|
|
info "Lazygit configured with $THEME_DISPLAY_NAME"
|