- 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>
23 lines
882 B
Bash
23 lines
882 B
Bash
#!/bin/bash
|
|
# Step 8: Yazi file manager
|
|
|
|
step "8/12 — Installing Yazi"
|
|
|
|
if $IS_ARCH; then
|
|
$PKG_INSTALL yazi ffmpegthumbnailer p7zip poppler
|
|
else
|
|
YAZI_VERSION=$(curl -ks "https://api.github.com/repos/sxyazi/yazi/releases/latest" | jq -r '.tag_name')
|
|
curl -ksSLo /tmp/yazi.zip "https://github.com/sxyazi/yazi/releases/download/${YAZI_VERSION}/yazi-x86_64-unknown-linux-musl.zip"
|
|
unzip -qo /tmp/yazi.zip -d /tmp/yazi-extract
|
|
sudo install -m 755 /tmp/yazi-extract/yazi-x86_64-unknown-linux-musl/yazi /usr/local/bin/yazi
|
|
rm -rf /tmp/yazi.zip /tmp/yazi-extract
|
|
# Optional thumbnailer/preview deps
|
|
sudo apt install -y ffmpegthumbnailer p7zip-full poppler-utils 2>/dev/null || true
|
|
fi
|
|
info "Yazi installed/updated"
|
|
|
|
mkdir -p ~/.config/yazi
|
|
backup_config ~/.config/yazi/theme.toml
|
|
write_yazi_config ~/.config/yazi/theme.toml
|
|
info "Yazi configured with $THEME_DISPLAY_NAME"
|