- 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>
26 lines
868 B
Bash
26 lines
868 B
Bash
#!/bin/bash
|
|
# Step 2: Nerd Font installation
|
|
|
|
step "2/12 — Installing Nerd Font"
|
|
|
|
FONT_DIR="$HOME/.local/share/fonts/NerdFonts"
|
|
FONT_NAME="JetBrainsMono"
|
|
|
|
if fc-list 2>/dev/null | grep -qi "JetBrainsMono Nerd"; then
|
|
info "JetBrainsMono Nerd Font already installed"
|
|
else
|
|
mkdir -p "$FONT_DIR"
|
|
curl -ksSLo /tmp/JetBrainsMono.tar.xz \
|
|
"https://github.com/ryanoasis/nerd-fonts/releases/latest/download/JetBrainsMono.tar.xz"
|
|
tar xf /tmp/JetBrainsMono.tar.xz -C "$FONT_DIR"
|
|
rm -f /tmp/JetBrainsMono.tar.xz
|
|
fc-cache -f 2>/dev/null || true
|
|
info "JetBrainsMono Nerd Font installed to $FONT_DIR"
|
|
fi
|
|
|
|
if $IS_WSL; then
|
|
warn "WSL detected: You must also install a Nerd Font on the Windows side."
|
|
warn "Download from: https://www.nerdfonts.com/font-downloads"
|
|
warn "Then set 'JetBrainsMono Nerd Font' in your terminal settings (Windows Terminal, etc.)."
|
|
fi
|