Update your apt stuff in a pretty and informative way
Put this code in your .zsh
file:
update_stuff() {
echo "=============================="
echo "🔧 starting update routine...\n"
echo "\n📥 APT UPDATE\n"
sudo apt update -y
echo "\n📈 APT UPGRADE\n"
sudo apt upgrade -y
echo "\n🗑️ APT AUTOREMOVE\n"
sudo apt autoremove -y
echo "\n🧹 APT AUTOCLEAN\n"
sudo apt autoclean -y
echo "\n⚙️ FLATPAK UPDATE\n"
flatpak update -y
echo "\n🚀 finishing update routine...\n"
echo "=============================="
}
alias up="update_stuff"
Reload the environment:
source ~/.zsh
Test the command:
up # or update_stuff