diff --git a/home_external/.bash_aliases_extra b/home_external/.bash_aliases_extra index e69de29..799fcb5 100644 --- a/home_external/.bash_aliases_extra +++ b/home_external/.bash_aliases_extra @@ -0,0 +1,9 @@ +updateSystem() { + noconfirm= + if [[ $1 == "-y" ]]; then + noconfirm="-y" + fi + sudo apt update; + sudo apt upgrade $noconfirm; + sudo apt autoremove $noconfirm; +}