Improve APT aliases
This commit is contained in:
parent
e115b1875d
commit
87ce125e42
12
zshrc
12
zshrc
|
@ -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
|
||||
# }}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue