Files
Archduino/lib/starship.sh
MDietermann b512d41dc8 feat: add Renode emulator, nvim-dap debugging, and backup collision fix
- 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>
2026-04-10 15:23:57 +02:00

20 lines
597 B
Bash

#!/bin/bash
# Step 3: Starship prompt
step "4/12 — Installing Starship"
if $IS_ARCH; then
$PKG_INSTALL starship
else
curl -ksSLo /tmp/starship.tar.gz https://github.com/starship/starship/releases/latest/download/starship-x86_64-unknown-linux-musl.tar.gz
tar xzf /tmp/starship.tar.gz -C /tmp
sudo install -m 755 /tmp/starship /usr/local/bin/starship
rm -f /tmp/starship /tmp/starship.tar.gz
fi
info "Starship installed/updated"
mkdir -p ~/.config
backup_config ~/.config/starship.toml
write_starship_config ~/.config/starship.toml
info "Starship configured with $THEME_DISPLAY_NAME"