mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
Added new command for "apt-get autoremove"
This commit is contained in:
parent
b6be57f119
commit
1adde8151e
1 changed files with 2 additions and 0 deletions
|
|
@ -44,6 +44,7 @@ alias app='apt-cache policy'
|
|||
if [[ $use_sudo -eq 1 ]]; then
|
||||
# commands using sudo #######
|
||||
alias aac='sudo $apt_pref autoclean'
|
||||
alias aar='sudo apt-get --purge autoremove' #this command is only with apt-get
|
||||
alias abd='sudo $apt_pref build-dep'
|
||||
alias ac='sudo $apt_pref clean'
|
||||
alias ad='sudo $apt_pref update'
|
||||
|
|
@ -75,6 +76,7 @@ if [[ $use_sudo -eq 1 ]]; then
|
|||
# commands using su #########
|
||||
else
|
||||
alias aac='su -ls \'$apt_pref autoclean\' root'
|
||||
alias aar='su -lc "apt-get --purge autoremove" root' #this command is only with apt-get
|
||||
abd() {
|
||||
cmd="su -lc '$apt_pref build-dep $@' root"
|
||||
print "$cmd"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue