diff options
author | Robby Russell <robby@planetargon.com> | 2015-08-30 21:35:18 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2015-08-30 21:35:18 -0700 |
commit | e59f4cb14f19820e20861b28a2691cbf23e9bccb (patch) | |
tree | 4ea312ac2dd386074a909eff8df1cb948b947d52 | |
parent | 9bb99e1f7b4da7b0bb93c19651eda7e01a2bb404 (diff) | |
parent | aaf5c8f43f6eee141b9ea4b85b4e1097db4a1770 (diff) | |
download | zsh-e59f4cb14f19820e20861b28a2691cbf23e9bccb.tar.gz zsh-e59f4cb14f19820e20861b28a2691cbf23e9bccb.tar.bz2 zsh-e59f4cb14f19820e20861b28a2691cbf23e9bccb.zip |
Merge pull request #4271 from loctauxphilippe/patch-1
added apt-get autoremove in ubuntu plugin
-rw-r--r-- | plugins/ubuntu/ubuntu.plugin.zsh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/ubuntu/ubuntu.plugin.zsh b/plugins/ubuntu/ubuntu.plugin.zsh index 0211d3374..a1a5016c7 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 @@ -38,6 +39,7 @@ 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' @@ -51,6 +53,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) \ |