#!/bin/bash set -euo pipefail cd -- "$(dirname -- "$0")" . mod.bash if (($(id -u) == 0)); then [[ -f /etc/debian_version ]] \ && install_apt_packages [[ $(uname -sm) =~ ^(Linux x86_64|Darwin .*)$ ]] \ && install_homebrew_packages fi install_dotfiles install_addons "$@"