#!/bin/bash # TODO should be applicable to other package managers (dnf, apt, ..) main(){ _update_pac bash ./dots.sh; bash ./cli.sh; bash ./non_pac.sh; bash ./apps.sh; bash ./post_setup.sh; } _update_pac(){ sudo pacman -Fy --noconfirm sudo pacman -Syu --noconfirm } main;