From: Amand Tihon Date: Wed, 22 Jan 2020 12:20:15 +0000 (+0100) Subject: Remove suse aliases, add apt clean alias X-Git-Url: https://git.alrj.org/?a=commitdiff_plain;ds=inline;h=b406a1509769271f04da94e9b0e6d7769734c1db;p=zsh.d.git Remove suse aliases, add apt clean alias --- diff --git a/S50_aliases b/S50_aliases index 0b891b3..afb6f6f 100644 --- a/S50_aliases +++ b/S50_aliases @@ -26,29 +26,7 @@ then alias adist-upgrade="sudo apt-get dist-upgrade" alias aremove="sudo apt remove" alias aaremove="sudo apt autoremove" -fi - -if [ -f /etc/SuSE-release ] -then - if [ -x /usr/bin/smart ] - then - # aliases for smart, if it's present - alias search="smart search" - alias show="smart info" - alias update="sudo smart update" - alias install="sudo smart install" - alias remove="sudo smart remove" - alias upgrade="sudo smart upgrade" - else - # Aliases for zypper - alias search="zypper -R search -d" - alias show="zypper -R info" - alias update="sudo zypper refresh" - alias install="sudo zypper install" - alias remove="sudo zypper remove" - - alias upgrade="sudo zypper update" - fi + alias aclean="sudo apt clean" fi # to avoid the cd in mc history :