Commit Graph
19 Commits
Author SHA1 Message Date
alvinlollo 8320546ad4 Fix fisher conflicts and stale end-4 paths found by the smoke test
First real run of tests/smoke.sh surfaced three issues:

- fish.sh: repo configs/ ships fisher.fish and nvm.fish functions, so the
  new (previously always-broken) 'fisher install' hit fisher's own
  conflict check and aborted. Now: check 'type -q fisher' / 'type -q nvm'
  inside fish and only bootstrap what is actually missing.
- fish.sh: end-4 renamed hypr/hyprland/colors.conf to colors.lua and
  moved hyprlock colors under hypr/hyprlock/ - the stale paths made the
  old script abort on cp. Updated paths, warn-and-skip stays as the
  safety net if upstream moves again.
- LazyVim.sh: same fisher conflict class in its fish branch - guard the
  nvm.fish install with a 'type -q nvm' check.
- tests/smoke.sh: the zsh backup assertion was wrong (fresh container has
  no .zshrc for run 1 to back up). Pre-seed a marker config instead and
  assert both rotation (2 backups) and that neither run destroys the
  original content.

Verified: tests/smoke.sh fish.sh zsh.sh -> PASS/PASS, bat.sh -> PASS;
pre-push hook green on all 9 scripts.
2026-10-08 14:26:56 +11:00
alvinlollo 696badb67a Fix LazyVim.sh shell branches, backups, and nvm detection
- swap the crossed branch tests (fish branch checked ~/.bashrc, bash branch
  checked ~/.config/fish/config.fish - each never matched its shell)
- install fisher/nvm.fish via 'fish -c' instead of calling fisher from bash
- timestamped backups (nvim.bak-YYYYmmdd-HHMMSS) instead of rm -rf of all
  *.bak dirs first - a re-run no longer destroys the original backup
- check git clone result and point at the preserved backup on failure
- load nvm by sourcing its init script (nvm is a function; 'command -v nvm'
  never succeeded, so the whole block was dead code)
- guard nvm init sourcing under set +u, fall back to system nodejs
- idempotent rc appends (grep guard), tty-guarded Ctrl+C grace period
- set -euo pipefail with guarded/unguarded audit
- typos: prerequisites, secconds
2026-10-08 14:08:20 +11:00
alvinlollo 410537e246 Split optional apt packages and check install failures in LazyVim script 2026-09-30 14:34:25 +10:00
alvinlollo 1d89333407 Add apt support to LazyVim script 2026-09-30 13:36:17 +10:00
alvinlollo 622d6f5ace Use shelly instead of pacman 2026-08-10 12:17:54 +10:00
alvinlollo f71c4c3816 Install nvm fish plugin properly and reload 2026-07-19 21:18:23 +10:00
alvinlollo 5d2c403f3d Add NVM LTS install 2026-07-17 19:54:04 +10:00
alvinlollo 3020201a9d Add more depenencies and remove gdoc.vim 2026-07-12 18:00:55 +10:00
alvinlollo aab06b8d8d Fix LazyVim.sh script 2026-02-01 18:56:00 +11:00
alvinlollo 3910c42b73 Fix LazyVim.sh script 2026-02-01 18:54:56 +11:00
alvinlollo 5f51b33eea Fix pacman check 2026-01-25 23:12:59 +11:00
alvinlollo 3a139a3563 Run local scripts first before using from github 2026-01-21 16:19:05 -08:00
alvinlollo fd6f3f5b37 Add guardrails and remove gdoc.vim 2026-01-21 14:51:50 -08:00
alvinlollo 83cdf7f2b4 Add Disclaimer 2026-01-21 13:42:35 -08:00
Alvin Vilaythong 8eb6627d4d Make all scripts executible 2025-11-12 07:33:51 +11:00
alvinlollo f11fb1374f Implement backup removal and creation for LazyVim
Added backup removal and creation for LazyVim installation.
2025-10-28 22:27:32 +11:00
alvinlollo 5385c535cb Install prerequisites and update dependency installation
Added installation of prerequisites and improved dependency handling.
2025-10-28 22:21:42 +11:00
alvinlollo fa8fc3b0a6 Install pip requirements 2025-10-27 22:43:05 +11:00
alvinlollo c1485a8755 Create LazyVim.sh 2025-10-26 23:17:09 +11:00