refactor(scripts): add set -euo pipefail to all installer scripts

Add strict error handling to all scripts:
- 13 scripts get `set -euo pipefail`
- install-macos-defaults.sh gets `set -uo pipefail` (without -e) because
  defaults write commands may fail on newer macOS versions
- install-cargo-packages.sh: also add missing source of shared.sh
This commit is contained in:
2026-02-05 22:51:40 +02:00
parent e8725c4b47
commit de773ad68f
14 changed files with 17 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
# @description Install PHP Package Manager Composer
#
# shellcheck source="shared.sh"