Prefix some commands with sudo (aptitude, ...).
This commit is contained in:
parent
159eaade4b
commit
66911a6ce0
14
zshrc
14
zshrc
|
@ -84,13 +84,13 @@ alias most='most -w'
|
||||||
if [ -d /etc/apt ]; then
|
if [ -d /etc/apt ]; then
|
||||||
alias show='aptitude show'
|
alias show='aptitude show'
|
||||||
alias se='aptitude search'
|
alias se='aptitude search'
|
||||||
alias ins='aptitude install'
|
alias ins='sudo aptitude install'
|
||||||
alias insexperimental='aptitude -t experimental install'
|
alias insexperimental='sudo aptitude -t experimental install'
|
||||||
alias up='aptitude update'
|
alias up='sudo aptitude update'
|
||||||
alias upg='aptitude upgrade'
|
alias upg='sudo aptitude upgrade'
|
||||||
alias fup='aptitude full-upgrade'
|
alias fup='sudo aptitude full-upgrade'
|
||||||
alias apcl='aptitude clean'
|
alias apcl='sudo aptitude clean'
|
||||||
alias apurge="aptitude purge '~c'"
|
alias apurge="sudo aptitude purge '~c'"
|
||||||
alias version='apt-show-versions'
|
alias version='apt-show-versions'
|
||||||
alias pol='apt-cache policy '
|
alias pol='apt-cache policy '
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue