mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-06 12:50:03 +00:00
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:
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
# @description Update pure-bash-bible cheatsheets
|
||||
# shellcheck disable=SC2231,SC2034,SC2181,SC2068
|
||||
# shellcheck source=shared.sh
|
||||
|
||||
Reference in New Issue
Block a user