Improve APT aliases

This commit is contained in:
Jeremy Gardais 2022-02-18 15:36:12 +01:00
parent e115b1875d
commit 87ce125e42
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 3 additions and 9 deletions

12
zshrc
View File

@ -111,10 +111,10 @@ alias mane="LANG=C man "
# Afficher les lignes trop longues sur la ligne suivante plutot que de remplacer par un "$":
alias most='most -w'
# Commandes de gestion des paquets pour aptitude ou yum {{{
# APT|Aptitude|… commands {{{
if [ -d /etc/apt ]; then
alias acle='sudo aptitude clean'
alias afil='apt-file search'
alias afil='apt-file search --'
alias aful='sudo aptitude full-upgrade'
alias ains='sudo aptitude install'
alias alis='apt list --upgradable'
@ -124,17 +124,11 @@ if [ -d /etc/apt ]; then
alias aupg='sudo aptitude upgrade'
alias arem='sudo aptitude remove'
alias apts='apt search'
alias asea='aptitude search'
alias asea='aptitude search --'
alias asho='aptitude show'
alias aver='apt-show-versions'
alias awhy='aptitude why'
alias insexperimental='sudo aptitude -t experimental install'
else
alias up='yum update'
alias show='yum info'
alias se='yum search'
alias ins='yum install'
alias version='yum info &1|grep "Version"'
fi
# }}}