Commit Graph
9 Commits
Author SHA1 Message Date
jeremy eed5879a25 zsh: harden bootstrap against network failures and unsafe paths
- Add --connect-timeout 5 --max-time 30 to all curl calls (starship,
  lazydocker, fastfetch, eza) so an unreachable/slow host aborts instead
  of hanging the new shell during a bootstrap version bump
- Add -f/--fail to curl calls so a 502/HTML error page is not saved as
  a tarball or piped into sh
- Guard fastfetch extract: only cp/chmod when $ffdir is non-empty,
  preventing cp of '/usr/bin/fastfetch' and glob against '/' when
  curl/tar fails
- Only run fastfetch/eza copy steps when both curl and tar succeed;
  clean up temp tarballs in both success and failure paths
- git clone now uses GIT_TERMINAL_PROMPT=0 and http.lowSpeedLimit/
  lowSpeedTime so a stalled clone aborts after ~10s of no progress
  and an unexpected credential prompt cannot block startup
- Drop invalid -y flag from 'dnf list available' availability check
  (it is a global dnf option, not a list subcommand arg) which could
  cause the check to fail and skip the dnf path
2026-07-29 10:53:17 -04:00
jeremy e01bb35043 zsh: add --fail to curl calls, fix tmux config re-download every startup
- Add -f/--fail to all curl calls so HTTP error pages (502/404) are not
  written to temp files and mistaken for valid config/scripts
- Fix tmux check at line 49: was testing the directory path with -f
  (always true when dir exists) causing tmux.conf to re-download on
  every shell start; now checks for the actual conf files in both
  tmux and byobu config dirs
2026-07-29 10:52:52 -04:00
jeremy 52bca5ce38 zsh: add --max-time to curl calls to prevent hanging on slow connections 2026-07-29 10:35:18 -04:00
jeremy aeb58d45b6 added opencode install function 2026-07-13 00:21:47 -04:00
jeremy e0598477da validate downloaded zshrc with zsh -n before replacing
Adds syntax validation via zsh -n to both update_zshrc() and the
auto-update on shell start. Prevents error pages or corrupted content
from overwriting ~/.zshrc and breaking the shell.
2026-07-13 00:18:38 -04:00
jeremy 9d4c2d392c add opencode path if installed via script 2026-07-12 19:21:17 -04:00
jeremy eb6037899d updated some readme files 2026-07-12 02:45:02 -04:00
jeremy 6acbe02fad change script update location 2026-07-12 02:40:19 -04:00
jeremy 449f5f2565 Added chaotic AUR install script and terminal customization script 2026-07-12 02:37:04 -04:00