mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-18 03:40:08 +00:00
fix(debian): remove aptitude-only -P
flag (#11053)
This commit is contained in:
parent
97134d1eed
commit
ff2b0e48ae
1 changed files with 4 additions and 4 deletions
|
@ -89,22 +89,22 @@ else
|
||||||
alias afu="su -lc '$apt-file update'"
|
alias afu="su -lc '$apt-file update'"
|
||||||
alias au="su -lc '$apt_pref $apt_upgr' root"
|
alias au="su -lc '$apt_pref $apt_upgr' root"
|
||||||
function ai() {
|
function ai() {
|
||||||
cmd="su -lc 'aptitude -P install $@' root"
|
cmd="su -lc '$apt_pref install $@' root"
|
||||||
print "$cmd"
|
print "$cmd"
|
||||||
eval "$cmd"
|
eval "$cmd"
|
||||||
}
|
}
|
||||||
function ap() {
|
function ap() {
|
||||||
cmd="su -lc '$apt_pref -P purge $@' root"
|
cmd="su -lc '$apt_pref purge $@' root"
|
||||||
print "$cmd"
|
print "$cmd"
|
||||||
eval "$cmd"
|
eval "$cmd"
|
||||||
}
|
}
|
||||||
function ar() {
|
function ar() {
|
||||||
cmd="su -lc '$apt_pref -P remove $@' root"
|
cmd="su -lc '$apt_pref remove $@' root"
|
||||||
print "$cmd"
|
print "$cmd"
|
||||||
eval "$cmd"
|
eval "$cmd"
|
||||||
}
|
}
|
||||||
function aar() {
|
function aar() {
|
||||||
cmd="su -lc '$apt_pref -P autoremove $@' root"
|
cmd="su -lc '$apt_pref autoremove $@' root"
|
||||||
print "$cmd"
|
print "$cmd"
|
||||||
eval "$cmd"
|
eval "$cmd"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue