diff --git a/ubuntu.sh b/ubuntu.sh index 7b2c2ec..4e7f88d 100644 --- a/ubuntu.sh +++ b/ubuntu.sh @@ -9,7 +9,7 @@ then which wget &> /dev/null || sudo apt install wget -y # install wget if not already installed # === Upgrade packages == - sudo apt upgrade -y + sudo apt full-upgrade -y # === Basic dev == sudo apt install build-essential valgrind -y @@ -76,7 +76,7 @@ then fish -c "abbr - 'cd -'" fish -c "abbr cat 'batcat'" fish -c "abbr nano 'micro'" - fish -c "abbr bigupdate 'sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo snap refresh && tldr --update'" + fish -c "abbr bigupdate 'sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y && sudo snap refresh && tldr --update'" fish -c "abbr d 'nautilus . -w &> /dev/null & disown'" fish -c "abbr spotify 'LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify &> /dev/null & disown'" # Remove fish icon diff --git a/wsl.sh b/wsl.sh index 41bd0ee..11a4cf7 100644 --- a/wsl.sh +++ b/wsl.sh @@ -6,7 +6,7 @@ then sudo sed -i "s/focal/impish/g" /etc/apt/sources.list sudo sed -i "s/focal/impish/g" /etc/apt/sources.list.d/*.list sudo apt update - sudo apt upgrade -y + sudo apt full-upgrade -y # === Remove SU password == sudo sed -i "26s#.*#%sudo ALL=(ALL:ALL) NOPASSWD: ALL#" /etc/sudoers @@ -83,7 +83,7 @@ then fish -c "abbr - 'cd -'" fish -c "abbr cat 'batcat'" fish -c "abbr nano 'micro'" - fish -c "abbr bigupdate 'sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && tldr --update'" + fish -c "abbr bigupdate 'sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y && tldr --update'" fish -c "abbr d 'explorer.exe .'" fish -c "abbr tlmgr 'sudo \$(which tlmgr)'"