From b406a1509769271f04da94e9b0e6d7769734c1db Mon Sep 17 00:00:00 2001 From: Amand Tihon Date: Wed, 22 Jan 2020 13:20:15 +0100 Subject: [PATCH] Remove suse aliases, add apt clean alias --- S50_aliases | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) 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 : -- 2.39.5