1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/usr/bin/env sh run() { printf "\033[35;1m> \033[0m\033[35;1m%s\033[0m\n" "Running $(basename "$1") .." cmd="$1"; shift 1 "$cmd" "$@" } run ./modules/home/conf/firefox/scripts/update_extensions.sh run ./pkgs/update_pkgs.sh "$@" run ./modules/system/secrets/update_secrets.sh # vim: ft=sh