summaryrefslogtreecommitdiff
path: root/plugins/ubuntu
diff options
context:
space:
mode:
authorAndrew Janke <andrew@apjanke.net>2015-08-31 13:29:54 -0400
committerAndrew Janke <andrew@apjanke.net>2015-09-03 12:50:55 -0400
commit82c76f6b5c2718622a532fb759231e8d24171413 (patch)
treeb0126f6d9b3ed508c1a6d9b21df56e2523e0555f /plugins/ubuntu
parentfe92ea98e0633784508e85d6b756b1c3f667b2a4 (diff)
parentba5fd57c1ff4a8523715bab6acc35dbbeff88af7 (diff)
downloadzsh-82c76f6b5c2718622a532fb759231e8d24171413.tar.gz
zsh-82c76f6b5c2718622a532fb759231e8d24171413.tar.bz2
zsh-82c76f6b5c2718622a532fb759231e8d24171413.zip
Merge changes from #4241 into installer-portable-colors
Conflicts: tools/install.sh tools/upgrade.sh
Diffstat (limited to 'plugins/ubuntu')
-rw-r--r--plugins/ubuntu/ubuntu.plugin.zsh7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/ubuntu/ubuntu.plugin.zsh b/plugins/ubuntu/ubuntu.plugin.zsh
index 0211d3374..f08853643 100644
--- a/plugins/ubuntu/ubuntu.plugin.zsh
+++ b/plugins/ubuntu/ubuntu.plugin.zsh
@@ -3,6 +3,7 @@
# https://github.com/dbb
# https://github.com/Mappleconfusers
# Nicolas Jonas nextgenthemes.com
+# https://github.com/loctauxphilippe
#
# Debian, Ubuntu and friends related zsh aliases and functions for zsh
@@ -28,6 +29,7 @@ compdef _ppap ppap='sudo ppa-purge'
alias ag='sudo apt-get' # age - but without sudo
alias aga='sudo apt-get autoclean' # aac
+alias agar='sudo apt-get autoremove'
alias agb='sudo apt-get build-dep' # abd
alias agc='sudo apt-get clean' # adc
alias agd='sudo apt-get dselect-upgrade' # ads
@@ -38,9 +40,11 @@ alias agu='sudo apt-get update' # ad
alias agud='sudo apt-get update && sudo apt-get dist-upgrade' #adu
alias agug='sudo apt-get upgrade' # ag
alias aguu='sudo apt-get update && sudo apt-get upgrade' #adg
+alias agar='sudo apt-get autoremove'
compdef _ag ag='sudo apt-get'
compdef _aga aga='sudo apt-get autoclean'
+compdef _agar agar='sudo apt-get autoremove'
compdef _agb agb='sudo apt-get build-dep'
compdef _agc agc='sudo apt-get clean'
compdef _agd agd='sudo apt-get dselect-upgrade'
@@ -51,6 +55,7 @@ compdef _agu agu='sudo apt-get update'
compdef _agud agud='sudo apt-get update && sudo apt-get dist-upgrade'
compdef _agug agug='sudo apt-get upgrade'
compdef _aguu aguu='sudo apt-get update && sudo apt-get upgrade'
+compdef _agar agar='sudo apt-get autoremove'
# Remove ALL kernel images and headers EXCEPT the one in use
alias kclean='sudo aptitude remove -P ?and(~i~nlinux-(ima|hea) \
@@ -65,7 +70,7 @@ alias mydeb='time dpkg-buildpackage -rfakeroot -us -uc'
# apt-add-repository with automatic install/upgrade of the desired package
# Usage: aar ppa:xxxxxx/xxxxxx [packagename]
-# If packagename is not given as 2nd arument the function will ask for it and guess the defaupt by taking
+# If packagename is not given as 2nd argument the function will ask for it and guess the default by taking
# the part after the / from the ppa name wich is sometimes the right name for the package you want to install
aar() {
if [ -n "$2" ]; then