jeremy 18af4de0c0 zsh: add github binary fallbacks for bat/zoxide/delta (fixes RHEL/Alma without EPEL/cargo)
On RHEL-family distros without EPEL enabled and without cargo, the PM
loop fails for bat/zoxide/git-delta and there was no fallback, so they
ended up skipped/FAIL. Now, after the PM/cargo attempts fail, download
the latest static release tarball from GitHub instead, matching the
existing pattern for eza/fastfetch/starship/lazydocker.

- Add _gh_latest_tag(): resolve latest release tag from the
  /releases/latest redirect (no GitHub API, no rate limits)
- Add _gh_install_bin(): build the asset URL from a versioned template,
  download, extract, and cp the named binary into ~/.local/bin
- Handle per-repo tag conventions: bat/zoxide tags are 'v0.x' while
  delta tags are bare '0.x'; keep the raw tag for the download path and
  strip the optional 'v' only for asset-filename substitution
- Add target_musl/target_gnu per-arch (x86_64/aarch64/armv7l)
- bat/zoxide use static musl builds (no glibc deps); delta ships gnu-only
- Verbose 'gh installing <bin> (<tag> from <repo>)' / FAIL lines
- Bump ZSHRC_BOOTSTRAP_VERSION 3 -> 4 so existing boxes re-run the
  bootstrap and pick up the new fallbacks

Verified end-to-end: bat 0.26.1, zoxide 0.10.0, delta 0.19.2 all
download, extract, install, and run from a temp HOME.
2026-07-29 12:11:31 -04:00
2026-07-12 02:45:02 -04:00

Scripts

A collection of utility scripts for Linux desktop and server administration.

Contents

Directory Description
audio-toggle/ Switch PulseAudio/PipeWire audio sinks (next, previous, by name, or list) with desktop notifications
chaotic-aur/ One-shot idempotent installer for the Chaotic-AUR Arch Linux binary repository
docker-stacks-backup/ Backup & restore Docker Compose stacks — named volumes, bind mounts, pre/post hooks, retention, integrity verification
docker-stacks-update/ Discover running Compose stacks, pull latest images, and restart only those that changed
input-remapper-switcher/ Auto-switch input-remapper presets per-application via Hyprland socket events
netbird-install-update/ Install, update, and manage Netbird across single or multiple Linux hosts — detects install method, replaces package-manager installs with binary, supports SSH remote deployment, auto-update timers, and sudo password automation
proxmox-backup/ Backup & restore Proxmox VE configuration (local or over SSH) with integrity verification
proxmox-cloudimg/ Download, customize, and create Proxmox VE VM templates from official cloud images
zsh/ Zsh configuration (.zshrc), dependency bootstrap installer, and themed tmux config
S
Description
No description provided
Readme
209 KiB
Languages
Shell 100%