Prefix some commands with sudo (aptitude, ...).

This commit is contained in:
gardouille 2015-02-26 14:48:44 +01:00
parent 159eaade4b
commit 66911a6ce0

14
zshrc
View File

@ -84,13 +84,13 @@ alias most='most -w'
if [ -d /etc/apt ]; then
alias show='aptitude show'
alias se='aptitude search'
alias ins='aptitude install'
alias insexperimental='aptitude -t experimental install'
alias up='aptitude update'
alias upg='aptitude upgrade'
alias fup='aptitude full-upgrade'
alias apcl='aptitude clean'
alias apurge="aptitude purge '~c'"
alias ins='sudo aptitude install'
alias insexperimental='sudo aptitude -t experimental install'
alias up='sudo aptitude update'
alias upg='sudo aptitude upgrade'
alias fup='sudo aptitude full-upgrade'
alias apcl='sudo aptitude clean'
alias apurge="sudo aptitude purge '~c'"
alias version='apt-show-versions'
alias pol='apt-cache policy '
else