e59f4cb14f19820e20861b28a2691cbf23e9bccb

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #4271 from loctauxphilippe/patch-1

added apt-get autoremove in ubuntu plugin

Diff

 1diff --git a/plugins/ubuntu/ubuntu.plugin.zsh b/plugins/ubuntu/ubuntu.plugin.zsh
 2index 0211d33742577092cf8902b4e83cb0761d9d7433..a1a5016c722c6b2ba6bba6780deff85d206abcc4 100644
 3--- a/plugins/ubuntu/ubuntu.plugin.zsh
 4+++ b/plugins/ubuntu/ubuntu.plugin.zsh
 5@@ -3,6 +3,7 @@
 6 # https://github.com/dbb
 7 # https://github.com/Mappleconfusers
 8 # Nicolas Jonas nextgenthemes.com
 9+# https://github.com/loctauxphilippe
10 #
11 # Debian, Ubuntu and friends related zsh aliases and functions for zsh
12 
13@@ -38,6 +39,7 @@ alias agu='sudo apt-get update'   # ad
14 alias agud='sudo apt-get update && sudo apt-get dist-upgrade' #adu
15 alias agug='sudo apt-get upgrade' # ag
16 alias aguu='sudo apt-get update && sudo apt-get upgrade'      #adg
17+alias agar='sudo apt-get autoremove'
18 
19 compdef _ag ag='sudo apt-get'
20 compdef _aga aga='sudo apt-get autoclean'
21@@ -51,6 +53,7 @@ compdef _agu agu='sudo apt-get update'
22 compdef _agud agud='sudo apt-get update && sudo apt-get dist-upgrade'
23 compdef _agug agug='sudo apt-get upgrade'
24 compdef _aguu aguu='sudo apt-get update && sudo apt-get upgrade'
25+compdef _agar agar='sudo apt-get autoremove'
26 
27 # Remove ALL kernel images and headers EXCEPT the one in use
28 alias kclean='sudo aptitude remove -P ?and(~i~nlinux-(ima|hea) \